예제 #1
0
 private void SetButtons()
 {
     for (int nr = 0; nr < research.Count(); nr++)
     {
         text_button[nr].text = GUIPlanetOperations.CheckLevel(research[nr].level, 3, MetalCost(nr), CrystalCost(nr), DeuterCost(nr));
     }
 }
예제 #2
0
 private void SetButtons()
 {
     for (int nr = 0; nr < structures.Count; nr++)
     {
         text_button[nr].text = GUIPlanetOperations.CheckLevel(structures[nr].level, 3, Cost(nr));
     }
 }