public void DropItem()
 {
     if (amount > 0)
     {
         inventory.OnDropItem(currentSelectedSlot.item, amount);
         if (currentSelectedSlot.item.amount <= 0)
         {
             if (itemWindow.slots.Contains(currentSelectedSlot))
             {
                 itemWindow.slots.Remove(currentSelectedSlot);
             }
             Destroy(currentSelectedSlot.gameObject);
             if (itemWindow.slots.Count > 0)
             {
                 SetSelectable(itemWindow.slots[0].gameObject);
             }
         }
     }
 }