Example #1
0
 void OnTriggerExit2D(Collider2D other)
 {
     if (currentState != null && !IsInTransition)
     {
         currentState.TriggerExit2D(other);
     }
 }