Exemplo n.º 1
0
 void RemoveItem(ITEM item)
 {
     if (inventory[item] <= 0)
     {
         Debug.LogError("ItemInventoryController : " + item.ToString() + " is 0.");
         return;
     }
     inventory[item] -= 1;
 }
 protected string ItemName(ITEM i)
 {
     return(i.ToString().Replace("_", " "));
 }