예제 #1
0
    private void Drop()
    {
        _inventorySlot.Clear();

        var pickableSlot = (PickableSlot)_inventorySlot;

        _pickableItemsInventory.Remove(pickableSlot.SlotIndex);
    }
예제 #2
0
    public override void Clicked(int slotIndex)
    {
        if (!ShouldItemNotBeUsed)
        {
            return;
        }

        Clicked(slotIndex);
        _pickableItemsInventory.Remove(slotIndex);
    }