Example #1
0
 private void OnDropItemClick(Worlds.Items.DropItem dropItem)
 {
     if (Player.Inventory.AddItem(dropItem.ID))
     {
         Destroy(dropItem.gameObject);
     }
 }
Example #2
0
 private void OnDropItemStartDrag(Worlds.Items.DropItem dropItem)
 {
     CurrentDrag     = Drag.Item;
     CurrentDropItem = dropItem;
     Player.Inventory.Highlight(dropItem.ID);
 }