Пример #1
0
 public override void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
 {
     animator.applyRootMotion = false;
     m_Rigidbody.isKinematic  = false;
     m_CharacterEntity.EndSpecialJump();
     m_CharacterEntity.cameraTargetYOffset  = 0;
     m_CharacterEntity.isInSpecialJumpState = false;
 }