Beispiel #1
0
 private void InitAiControllers()
 {
     {
         TurretAi     ai       = new TurretAi(null);
         AiController turretAi = new AiController(ai);
         AiControllers.Add("TurretAi", turretAi);
     }
 }
Beispiel #2
0
 void Awake()
 {
     turretAI = gameObject.GetComponentInParent <TurretAi> ();
 }