Beispiel #1
0
 public void SetInfo(Country_SO country)
 {
     m_NameText.text       = country.GetName();
     m_AreaText.text       = country.GetArea().ToString();
     m_GDPText.text        = country.GetGDP().ToString();
     m_PopulationText.text = country.GetPopulation().ToString();
 }
Beispiel #2
0
    public void Open(Country_SO country)
    {
        m_AreaText.text       = "Площадь: " + country.GetArea();
        m_GRPText.text        = "ВВП: " + country.GetGDP();
        m_PopulationText.text = "Население: " + country.GetPopulation();

        base.Open();
    }
Beispiel #3
0
 int CompareArea(Country_SO country)
 {
     return(country.GetArea());
 }