public GameObject OpenVacant() { CloseUI(); VacantPopup.SetActive(true); VacantPopup.GetComponent <RectTransform>().anchoredPosition = origVacant; return(VacantPopup); }
public void CloseUI() { RoadPopup.SetActive(false); VacantPopup.SetActive(false); OwnedRestaurantPopup.SetActive(false); EnemyRestaurantPopup.SetActive(false); DistrictPopup.SetActive(false); }