Пример #1
0
    private void Awake()
    {
        // m_cityData = new CityData();
        m_cityData = LoadCityData("Save/", "data.xml");

        if (m_cityData == null)
        {
            m_cityData = new CityData();
        }

        m_cityData.Init();

        m_cityLevels = this.GetComponentsInChildren <CityLevel>();
    }