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