コード例 #1
0
 public void UpgradeIdleGenerated()
 {
     if (Data.GetCurrency() < Data.GetIdleUpgradePrice())
     {
         return;
     }
     DecreaseCurrency(Data.GetIdleUpgradePrice());
     Data.UpgradeIdleGenerated();
 }