Beispiel #1
0
 public void UseItem()
 {
     if (selectedItem.ActivateEffect())
     {
         DropItem();
         selectedItem = null;
     }
     else
     {
         Debug.Log("Item cannot be used");
     }
 }