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

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

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