// Use this for initialization void Start() { agent = GetComponent <NavMeshAgent>(); agent.updateRotation = false; animator = GetComponent <Animator>(); locomotion = new MyLocomotion(animator); particleClone = null; }
// Use this for initialization void Start() { m_Animator = GetComponent <Animator>(); m_Animator.logWarnings = false; m_Locomotion = new MyLocomotion(m_Animator); }
// Use this for initialization void Start() { anim = GetComponent<Animator>(); anim.logWarnings = false; loc = new MyLocomotion(anim); }