public override void OnStateEnter(Animator animator, AnimatorStateInfo animatorStateInfo, int layerIndex) { _MenuState = FindObjectOfType <MenuState>(); _MenuState.OnStateEnter(animator, animatorStateInfo, layerIndex); }
public IState OnStateUpdate() { MenuState.OnStateEnter(); return(MenuState); // Node.ShowPath(); }