예제 #1
0
 IEnumerator Increment()
 {
     while (enabled)
     {
         CityManager.AddMoney(moneyAmount);
         yield return(new WaitForSeconds(1));
     }
 }