// Use this for initialization void Start() { virtualCityModel = virtualCityModelObj.GetComponent <VirtualCityModel>(); city = new Building[this.Width, this.Length]; StartCoroutine("Initialize"); }
// Use this for initialization void Start() { this.virtualCity = this.transform.parent.GetComponent <VirtualCityModel>(); this.city = this.virtualCity.GetCity(); }