예제 #1
0
파일: Store.cs 프로젝트: Martinch0/Energon
 // Buy a shield
 public void BuyShield()
 {
     if (PlayerSettings.SpendCoins(ShieldCost))
     {
         PlayerSettings.AddShields(1);
     }
 }