private void Drop(ItemSlot dropItemSlot) { m_DropedItemSlot = dropItemSlot; if (m_DraggedSlot == null) { return; } if (dropItemSlot.CanStackItem(m_DraggedSlot.Item)) { AddStacks(dropItemSlot); } else if (dropItemSlot.CanRecieveItem(m_DraggedSlot.Item) && m_DraggedSlot.CanRecieveItem(dropItemSlot.Item)) { SwapItem(dropItemSlot); } }