Ejemplo n.º 1
0
        // 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);
 	}