void OnTriggerExit(Collider other) { if (currentState != null && !IsInTransition) { currentState.TriggerExit(other); } }