コード例 #1
0
 public void Summon()
 {
     if (gold.HasEnought(characterPrefab.cost))
     {
         gold.SpendGold(characterPrefab.cost);
         defenderSpawner.SummonCharacter(characterPrefab);
     }
 }