Пример #1
0
 void OnCollisionStay2D(Collision2D other)
 {
     if (currentState != null && !IsInTransition)
     {
         currentState.CollisionStay2D(other);
     }
 }