Beispiel #1
0
 public void ChangeSecondWorkClicked()
 {
     UIController.HideArrows();
     gameObject.SetActive(false);
     BuildingClicker.EnableBuildingClicker <Factory>((f) => {
         citizen.SetSecondWork(f);
         ShowCitizen(citizen);
     });
 }
Beispiel #2
0
 public void ChangeHomeClicked()
 {
     UIController.HideArrows();
     gameObject.SetActive(false);
     BuildingClicker.EnableBuildingClicker <Housing>((h) => {
         citizen.SetHome(h);
         ShowCitizen(citizen);
     });
 }