void Start() { Cities.Add(new AICity()); Cities.Add(new AICity()); Cities.Add(new AICity()); Cities.Add(new AICity()); Cities.Add(new AICity()); currentCity = Cities[0]; UpdatePrices(); StartCoroutine(CitiesLoop()); }
public void changeCity(int index) { currentCity = Cities[index]; UpdatePrices(); }