override public void OnStateMachineEnter(Animator animator, int stateMachinePathHash) { if (stateMachine) { GlobalController.HidePlayer(); } }
override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex) { GlobalController.HidePlayer(); }
virtual public void HidePlayer() { GlobalController.HidePlayer(); }