示例#1
0
 // OnStateMachineExit is called when exiting a statemachine via its Exit Node
 virtual public void OnStateMachineExit(Animator animator, int stateMachinePathHash, UnityEngine.Animations.AnimatorControllerPlayable controller)
 {
 }
示例#2
0
 // OnStateIK is called right after Animator.OnAnimatorIK(). Code that sets up animation IK (inverse kinematics) should be implemented here.
 virtual public void OnStateIK(Animator animator, AnimatorStateInfo stateInfo, int layerIndex, UnityEngine.Animations.AnimatorControllerPlayable controller)
 {
 }