コード例 #1
0
 public double EarnMoney()
 {
     exp++;
     if (exp % 10 == 0)
     {
         enemyLevel++;
         currentIncome = baseIncome * Mathf.Pow(incomeWeight, enemyLevel);
     }
     money += currentIncome;
     UI.ShowMoney(money);
     return(currentIncome);
 }