コード例 #1
0
 public void UpgradeAttack()
 {
     if (gameManager.gold >= 10)
     {
         playerStats.AddAttack();
         gameManager.gold -= 10;
         gold.text         = "Gold : " + gameManager.gold;
         attackText.text   = "Attack : " + playerStats.attackPower;
     }
 }