Beispiel #1
0
 void OnTriggerEnter(Collider other)
 {
     if (currentState != null && !IsInTransition)
     {
         currentState.TriggerEnter(other);
     }
 }