public override void OnEnter(CharacterState characterState, Animator animator, AnimatorStateInfo stateInfo)
 {
 }
 public override void OnExit(CharacterState characterState, Animator animator, AnimatorStateInfo stateInfo)
 {
     animator.SetBool(TransitionParameter.ForceTransition.ToString(), false);
 }
示例#3
0
 public override void UpdateAbility(CharacterState characterState, Animator animator, AnimatorStateInfo stateInfo)
 {
 }
示例#4
0
        public override void OnEnter(CharacterState characterState, Animator animator, AnimatorStateInfo stateInfo)
        {
            CharacterControl control = characterState.GetCharacterControl(animator);

            control.SkinnedMeshAnimator.applyRootMotion = true;
        }
示例#5
0
 public override void OnEnter(CharacterState characterState, Animator animator, AnimatorStateInfo stateInfo)
 {
     animator.SetBool(TransitionParameter.Jump.ToString(), false);
     animator.SetBool(TransitionParameter.Attack.ToString(), false);
 }
示例#6
0
 public abstract void OnExit(CharacterState characterState, Animator animator, AnimatorStateInfo stateInfo);
示例#7
0
 public abstract void UpdateAbility(CharacterState characterState, Animator animator, AnimatorStateInfo stateInfo);