private void Update() { if (state == null) { return; } state.OnStateUpdate(); }
public override void OnStateUpdate(Animator animator, AnimatorStateInfo animatorStateInfo, int layerIndex) { _MenuState.OnStateUpdate(animator, animatorStateInfo, layerIndex); }