Esempio n. 1
0
        public override void OnStateMachineExit(Animator animator, int stateMachinePathHash)
        {
            ReplaceWithRagdoll replacer = animator.GetComponent <ReplaceWithRagdoll>();

            replacer.Replace();
        }
Esempio n. 2
0
        public override void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
        {
            ReplaceWithRagdoll replacer = animator.GetComponent <ReplaceWithRagdoll>();

            replacer.Replace();
        }