// Use this for initialization void Start() { agent = GetComponentInChildren <NavMeshAgent>(); animal = GetComponent <iMalbersInputs>(); agent.updateRotation = false; agent.updatePosition = true; }
private float v; //Vertical Forward & Back Axis Z void Awake() { //get the animalScript character = GetComponent <iMalbersInputs>(); }
void Awake() { //get the animalScript character = GetComponent <iMalbersInputs>(); Liam = GameObject.Find("Liam").transform; }
void Awake() { character = GetComponent <iMalbersInputs>(); //get the animal Script FindAllInputs(); }
// Use this for initialization void Start() { character = GetComponent <iMalbersInputs>(); }
private float v; //Vertical Forward & Back Axis Z void Awake() { //get the animalScript character = GetComponent <Animal>(); }