public void SpisokPokaz() { citys2 = new city[d.names2.Count]; Spis_List.SetActive(true); for (int g = 0; g < d.names2.Count; g++) { for (int k = 0; k < citys.Length; k++) { if (d.names2[g] == citys[k].name) { citys2[g] = citys[k]; } } } SpisokForm(); }
void Start() { Spis_List.SetActive(false); d = GameObject.Find("GameMan").GetComponent <AllCity>(); Gmob = GameObject.FindGameObjectsWithTag("Marker"); }
public void BackBut() { SpisokClear(); Spis_List.SetActive(false); }