public void UpdateComponentElement() { if (storeManager.PresentSelectedObject == null) { buttonSet.SetActive(false); } else { buttonSet.SetActive(true); } if (furnitureSetUI.activeSelf) { furnitureSetUILogic.UpdateComponentElement(); } }
// 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(); } }