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