Пример #1
0
 void Start()
 {
     riderCombat     = GetComponentInChildren <RiderCombat>();
     animalAIControl = GetComponentInChildren <MAnimalAIControl>();
     mAnimal         = GetComponentInChildren <MAnimal>();
     rider           = GetComponentInChildren <MRider>();
     //animalAIControl.enabled = false;
     //  SetClosestWaypoint();
 }
Пример #2
0
 // Start is called before the first frame update
 void Awake()
 {
     mRider = this.GetComponent <MRider>();
 }