Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     agent  = GetComponentInChildren <NavMeshAgent>();
     animal = GetComponent <iMalbersInputs>();
     agent.updateRotation = false;
     agent.updatePosition = true;
 }
Exemplo n.º 2
0
        private float v;  //Vertical   Forward & Back Axis Z

        void Awake()
        {
            //get the animalScript
            character = GetComponent <iMalbersInputs>();
        }
Exemplo n.º 3
0
 void Awake()
 {
     //get the animalScript
     character = GetComponent <iMalbersInputs>();
     Liam      = GameObject.Find("Liam").transform;
 }
Exemplo n.º 4
0
 void Awake()
 {
     character = GetComponent <iMalbersInputs>();  //get the animal Script
     FindAllInputs();
 }
Exemplo n.º 5
0
 // Use this for initialization
 void Start()
 {
     character = GetComponent <iMalbersInputs>();
 }
Exemplo n.º 6
0
        private float v;  //Vertical   Forward & Back Axis Z

        void Awake()
        {
            //get the animalScript
            character = GetComponent <Animal>();
        }