private void SetColourCapacity() { ResourcesAtPanel[0].color = GUIPlanetOperations.Set_Color(stats.Get_Data_From("Metal"), stats.Get_Data_From("Capacity_Metal")); ResourcesAtPanel[1].color = GUIPlanetOperations.Set_Color(stats.Get_Data_From("Crystal"), stats.Get_Data_From("Capacity_Crystal")); ResourcesAtPanel[2].color = GUIPlanetOperations.Set_Color(stats.Get_Data_From("Deuter"), stats.Get_Data_From("Capacity_Deuter")); }