Пример #1
0
 public virtual void EndPlayerState()
 {
     playerFSM.PopState(this);
     if (playerFSM.GetCurrentState() == null)
     {
         playerFSM.PushState(defaultState);
     }
 }