// Use this for initialization void Start() { navMeshAgent = GetComponent <NavMeshAgent>(); navMeshAgent.updateRotation = false; animator = GetComponent <Animator>(); locomotion = new Locomotion(animator); }
// Use this for initialization void Start () { navMeshAgent = GetComponent<NavMeshAgent>(); navMeshAgent.updateRotation = false; animator = GetComponent<Animator>(); locomotion = new Locomotion(animator); }