示例#1
0
 /// <summary>
 /// Assigns references and begins the restore hydration process.
 /// </summary>
 void Start()
 {
     cachedTransform = transform;
     refugeeManager  = RefugeeManager.GetInstance();
     housingManager  = HousingManager.GetInstance();
     //StartCoroutine(RestoreHydrationUpdate(RefugeeManager.GetInstance().GetUpdateHealthTimer()));
 }
示例#2
0
 private void Start()
 {
     refugeeManager = RefugeeManager.GetInstance();
     SetFunds(startingFunds);
     UIManager.GetInstance().SetFundsText(funds);
     TimeManager.GetInstance().OnMonthPass += AddMonthlyIncome;
 }
示例#3
0
 public void AddRefugeesButton()
 {
     RefugeeManager.GetInstance().AddRefugees(20);
 }