// This will be called once the animator has transitioned out of the state. override public void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex) { base.OnStateExit(animator, stateInfo, layerIndex); if (totemController != null) { totemController.OnWhiteOutComplete(); } }