public override void OnStateUpdate(Animator animator, AnimatorStateInfo stateInfo, int layerIndex) { // Debug.Log(Time.frameCount + " On State Update"); if (!_exiting && stateInfo.normalizedTime > .9f) { // Debug.Log(Time.frameCount + " On State Update Exit"); BirdController controller = animator.GetComponentInParent <BirdController>(); controller.OnHurtExit(); _exiting = true; } }