public virtual void OnAnimatorMove()
 {
     cc.ControlAnimatorRootMotion();
     if (onAnimatorMove != null)
     {
         onAnimatorMove.Invoke();
     }
 }
Exemple #2
0
        public virtual void OnAnimatorMove()
        {
            if (cc == null)
            {
                cc = GetComponent <vThirdPersonController>();
                cc.Init();
            }

            cc.ControlAnimatorRootMotion(); // handle root motion animations
        }
Exemple #3
0
        public virtual void OnAnimatorMoveEvent()
        {
            if (cc == null)
            {
                return;
            }

            cc.ControlAnimatorRootMotion();
            if (onAnimatorMove != null)
            {
                onAnimatorMove.Invoke();
            }
        }
 public virtual void OnAnimatorMove()
 {
     cc.ControlAnimatorRootMotion(); // handle root motion animations
 }