void OnTriggerExit(Collider collider) { if(collider.gameObject == GameHandler.Party().GetPlayer()) { this.timeout = 1; this.clearBattle = true; } }