コード例 #1
0
    public void UpgradeUnit(int unitIndex)
    {
        int cost = unitSpawner.UpgradeUnit(unitIndex, goldController.GetBalance());

        goldController.RemoveBalance(cost);
    }