コード例 #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
ファイル: IncomeManager.cs プロジェクト: tejas4197/SE410Test
 private void Start()
 {
     refugeeManager = RefugeeManager.GetInstance();
     SetFunds(startingFunds);
     UIManager.GetInstance().SetFundsText(funds);
     TimeManager.GetInstance().OnMonthPass += AddMonthlyIncome;
 }
コード例 #3
0
ファイル: UIManager.cs プロジェクト: tejas4197/SE410Test
 public void AddRefugeesButton()
 {
     RefugeeManager.GetInstance().AddRefugees(20);
 }