void Update() { if(this.clearBattle) { this.timeout -= GameHandler.DeltaTime; if(this.timeout <= 0) { GameHandler.SetInBattleArea(-1); this.clearBattle = false; } } }