Example #1
0
 public GameObject OpenOwnedRestaurant()
 {
     CloseUI();
     OwnedRestaurantPopup.SetActive(true);
     OwnedRestaurantPopup.transform.localPosition = origOwned; // might be the problem for the null reference :Antonio
     return(OwnedRestaurantPopup);
 }
Example #2
0
 public void CloseUI()
 {
     RoadPopup.SetActive(false);
     VacantPopup.SetActive(false);
     OwnedRestaurantPopup.SetActive(false);
     EnemyRestaurantPopup.SetActive(false);
     DistrictPopup.SetActive(false);
 }