Exemple #1
0
    void OpenInventoryScreen()
    {
        inventoryPanel.gameObject.SetActive(true);

        if (isForCooking)
        {
            inventoryPanel.FillInventory(TabType.recipe, true);
        }
        else
        {
            inventoryPanel.FillInventory();
        }
    }
Exemple #2
0
    void OpenInventoryScreen()
    {
        _inventoryPanel.gameObject.SetActive(true);

        _inputReader.EnableMenuInput();
        _inputReader.closeInventoryEvent += CloseInventoryScreen;
        if (isForCooking)
        {
            _inventoryPanel.FillInventory(TabType.recipe, true);
        }
        else
        {
            _inventoryPanel.FillInventory();
        }
    }