Exemplo n.º 1
0
    public void UpdateComponentElement()
    {
        if (storeManager.PresentSelectedObject == null)
        {
            buttonSet.SetActive(false);
        }
        else
        {
            buttonSet.SetActive(true);
        }

        if (furnitureSetUI.activeSelf)
        {
            furnitureSetUILogic.UpdateComponentElement();
        }
    }
Exemplo n.º 2
0
    // update ui component
    public void UIUpdate()
    {
        if (storeUI.activeSelf)
        {
            storeUILogic.UpdateComponentElement();
        }

        if (storeCustomizingSet.activeSelf)
        {
            storeCustomizingSetLogic.UpdateComponentElement();
        }

        if (resultRewardUI.activeSelf)
        {
            resultRewardUILogic.UpdateComponentElement();
        }

        if (storageUI.activeSelf)
        {
            storageUILogic.UpdateComponentElement();
        }

        if (stageUI.activeSelf)
        {
            stageUILogic.UpdateComponentElement();
        }

        if (sellItemSettingUI.activeSelf)
        {
            sellItemSettingUILogic.UpdateComponentElement();
        }

        if (questUI.activeSelf)
        {
            questUILogic.StoryPolicy();
        }
    }