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

        void Awake()
        {
            //get the animalScript
            character = GetComponent <iMalbersInputs>();
        }
예제 #3
0
파일: AIDeer.cs 프로젝트: zrdumped/Deer
 void Awake()
 {
     //get the animalScript
     character = GetComponent <iMalbersInputs>();
     Liam      = GameObject.Find("Liam").transform;
 }
예제 #4
0
 void Awake()
 {
     character = GetComponent <iMalbersInputs>();  //get the animal Script
     FindAllInputs();
 }
예제 #5
0
 // Use this for initialization
 void Start()
 {
     character = GetComponent <iMalbersInputs>();
 }
예제 #6
0
        private float v;  //Vertical   Forward & Back Axis Z

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