예제 #1
0
 public void AddItem(ItemObject newItem)
 {
     if (inventory.AddItem(newItem))
     {
         uIManager.AddItem(newItem);
         onItemCollected.Invoke(newItem);
     }
 }