Esempio n. 1
0
 public void SetState(M_PlayerState newState)
 {
     isNewState = true;
     PCState    = newState;
     anim.SetInteger("state", (int)PCState);
 }
Esempio n. 2
0
 protected virtual void OnEnable()
 {
     PCState = M_PlayerState.Idle;
     StartCoroutine(FSMMain());
 }