Beispiel #1
0
 public void SellItem(ItemInstance itemToSell, int itemPrice)
 {
     if (TakeItem(itemToSell))
     {
         Debug.Log("Item being sold for: " + itemToSell.CalculateItemPrice());
         currency += itemPrice;
     }
 }