Exemplo n.º 1
0
 public void TransferToState(APlayerState state)
 {
     // Debug.Log("Exiting: " + currentState);
     // Debug.Log("Entering: " + state);
     currentState.OnExit(this);
     currentState = state;
     currentState.OnEnter(this);
 }