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)); } }
private void SetButtons() { for (int nr = 0; nr < structures.Count; nr++) { text_button[nr].text = GUIPlanetOperations.CheckLevel(structures[nr].level, 3, Cost(nr)); } }