// OnStateEnter is called when a transition starts and the state machine starts to evaluate this state override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex) { tutorialManager = FindObjectOfType <TutorialManager>(); tutorialManager.ChangeHeaderImage(pushPullSprite); tutorialManager.DisableNextButton(); tutorialManager.DisablePreviousButton(); tutorialManager.ActiveBox(); }