Example #1
0
 private void UpdateManagers()
 {
     cityManager = this.gameObject.GetComponent<CityManager>();
     environmentManager = this.gameObject.GetComponent<EnvironmentManager>();
     financeManager = this.gameObject.GetComponent<FinanceManager>();
     legislationManager = this.gameObject.GetComponent<LegislationManager>();
     popularityManager = this.gameObject.GetComponent<PopularityManager>();
     powerPlantManager = this.gameObject.GetComponent<PowerPlantManager>();
     researchDevelopmentManager = this.gameObject.GetComponent<ResearchDevelopmentManager>();
     resourceManager = this.gameObject.GetComponent<ResourceManager>();
     management = true;
     ++count;
 }
Example #2
0
 private void UpdateManagers()
 {
     cityManager                = this.gameObject.GetComponent <CityManager>();
     environmentManager         = this.gameObject.GetComponent <EnvironmentManager>();
     financeManager             = this.gameObject.GetComponent <FinanceManager>();
     legislationManager         = this.gameObject.GetComponent <LegislationManager>();
     popularityManager          = this.gameObject.GetComponent <PopularityManager>();
     powerPlantManager          = this.gameObject.GetComponent <PowerPlantManager>();
     researchDevelopmentManager = this.gameObject.GetComponent <ResearchDevelopmentManager>();
     resourceManager            = this.gameObject.GetComponent <ResourceManager>();
     management = true;
     ++count;
 }