Exemple #1
0
        // -------------------------------------------------------------------------------
        // ProcessStateInventory (Post Selection)
        // -------------------------------------------------------------------------------
        protected void ProcessStateInventory()
        {
            MenuPartyInventory menu = playerItems.GetComponent <MenuPartyInventory>();

            if (menu != null)
            {
                menu.ActivationRequestHandler();
            }
        }
Exemple #2
0
        // -------------------------------------------------------------------------------
        // LoadStateInventorySell
        // -------------------------------------------------------------------------------
        protected void LoadStateInventorySell()
        {
            MenuPartyInventory menu = playerItems.GetComponent <MenuPartyInventory>();

            menu.parent = shopOutside.GetComponent <ShopOutsidePanel>();
            menu.IsSell = true;
            shopOutside.GetComponent <ShopOutsidePanel>().IsSell = true;

            shopInventoryPanel.SetActive(false);
            playerItems.SetActive(true);
            LoadState_ShopInside(false);
        }
Exemple #3
0
        // ========================= INVENTORY RELATED STATES ============================

        // -------------------------------------------------------------------------------
        // ShowInventory
        // -------------------------------------------------------------------------------
        public void ShowInventory()
        {
            ActivateMenuButtons(false);

            MenuPartyInventory menu = playerItems.GetComponent <MenuPartyInventory>();

            menu.IsSell = false;

            goldPanel.SetActive(true);
            playerItems.SetActive(true);
            playerParty.SetActive(true);
        }