Exemplo n.º 1
0
 private void Awake()
 {
     _instance = this;
     TextCostForTimeDropChance();
     TextCostForDecreseSpeed();
     TextCostForSkipZone();
 }
Exemplo n.º 2
0
 public void SelectZoneWithName(string name)
 {
     selectedZoneName = name;
     if (map.zones[name].isBuilt)
     {
         ZoneMenu.Instance().Open();
     }
     else
     {
         CreateZoneDialog.Instance().Open();
     }
 }
Exemplo n.º 3
0
 void Start()
 {
     ZoneManagementObject = GameObject.Find("ZoneManagenent");
     zoneMenu             = FindObjectOfType(typeof(ZoneMenu)) as ZoneMenu;
 }