示例#1
0
 void OnCollisionExit2D(Collision2D other)
 {
     if (currentState != null && !IsInTransition)
     {
         currentState.CollisionExit2D(other);
     }
 }