public void ChangeHomeClicked() { UIController.HideArrows(); gameObject.SetActive(false); BuildingClicker.EnableBuildingClicker <Housing>((h) => { citizen.SetHome(h); ShowCitizen(citizen); }); }
public void ChangeSecondWorkClicked() { UIController.HideArrows(); gameObject.SetActive(false); BuildingClicker.EnableBuildingClicker <Factory>((f) => { citizen.SetSecondWork(f); ShowCitizen(citizen); }); }
void Awake() { Instance = this; }