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