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