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