Пример #1
0
 public void TransitionToState(Cornerback_Base_State state)
 {
     if (currentState != null)
     {
         currentState.CleanUp(this);
     }
     currentState = state;
     currentState.EnterState(this);
 }
 public void TransitionToState(Cornerback_Base_State state)
 {
     currentState = state;
     currentState.EnterState(this);
 }