Beispiel #1
0
 public bool AddItem(Item i)
 {
     Debug.Log("Added item " + i.GetName());
     if (inventory.AddItem(i))
     {
         invUI.AddUI(i);
         return(true);
     }
     return(false);
 }