Ejemplo n.º 1
0
 /*
  * public GameObject OpenResidential()
  * {
  *  CloseUI();
  *  ResidentPopup.SetActive(true);
  *  ResidentPopup.GetComponent<RectTransform>().anchoredPosition = origResident;
  *  return ResidentPopup;
  * }
  */
 public GameObject OpenDistrict()
 {
     CloseUI();
     DistrictPopup.SetActive(true);
     DistrictPopup.GetComponent <RectTransform>().anchoredPosition = origDistrict;
     return(DistrictPopup);
 }
Ejemplo n.º 2
0
 public void CloseUI()
 {
     RoadPopup.SetActive(false);
     VacantPopup.SetActive(false);
     OwnedRestaurantPopup.SetActive(false);
     EnemyRestaurantPopup.SetActive(false);
     DistrictPopup.SetActive(false);
 }