Пример #1
0
    public void ToggleInventory()
    {
        InventoryWindow.Enabled = !InventoryWindow.Enabled;

        if (InventoryWindow.Enabled)
        {
            InventoryWindow.SetInventoryItems();
        }
    }