コード例 #1
0
ファイル: UpgradeManager.cs プロジェクト: jasonwrwilson/LD48
 public void UpgradeShotCount()
 {
     if (dude.GetBones() >= GetShotCountUpgradeCost())
     {
         dude.SpendBones(GetShotCountUpgradeCost());
         dude.UpgradeShotCount();
         shotCountUpgradeNum++;
     }
 }