public override void Show(SceneVoidDelegate afterFinished = null) { SceneVoidDelegate action = () => { PersistenSingleton <UIManager> .Instance.MainMenuScene.SubMenuPanel.SetActive(false); ButtonGroupState.SetPointerDepthToGroup(4, ItemGroupButton); ButtonGroupState.SetPointerDepthToGroup(7, TargetGroupButton); ButtonGroupState.SetPointerOffsetToGroup(new Vector2(54f, 0.0f), ItemGroupButton); ButtonGroupState.SetPointerOffsetToGroup(new Vector2(54f, 0.0f), KeyItemGroupButton); ButtonGroupState.SetPointerOffsetToGroup(new Vector2(160f, 10f), ArrangeMenuGroupButton); ButtonGroupState.SetPointerOffsetToGroup(new Vector2(48f, -6f), ItemArrangeGroupButton); ButtonGroupState.SetScrollButtonToGroup(_itemScrollList.ScrollButton, ItemGroupButton); ButtonGroupState.SetScrollButtonToGroup(_itemScrollList.ScrollButton, ItemArrangeGroupButton); ButtonGroupState.SetScrollButtonToGroup(_keyItemScrollList.ScrollButton, KeyItemGroupButton); ButtonGroupState.SetPointerLimitRectToGroup(ItemListPanel.GetComponent <UIWidget>(), _itemScrollList.cellHeight, ItemGroupButton); ButtonGroupState.SetPointerLimitRectToGroup(ItemListPanel.GetComponent <UIWidget>(), _itemScrollList.cellHeight, ItemArrangeGroupButton); ButtonGroupState.SetPointerLimitRectToGroup(KeyItemListPanel.GetComponent <UIWidget>(), _keyItemScrollList.cellHeight, KeyItemGroupButton); ButtonGroupState.ActiveGroup = SubMenuGroupButton; StartCoroutine(Show_dalay()); afterFinished?.Invoke(); }; SceneDirector.FadeEventSetColor(FadeMode.Sub, Color.black); base.Show(action); ItemListPanel.SetActive(true); KeyItemListPanel.SetActive(false); DisplayItem(); HelpDespLabelGameObject.SetActive(FF9StateSystem.PCPlatform); _itemScrollList.ScrollButton.DisplayScrollButton(false, false); _keyItemScrollList.ScrollButton.DisplayScrollButton(false, false); }
public override void Show(SceneVoidDelegate afterFinished = null) { base.Show(() => { PersistenSingleton <UIManager> .Instance.MainMenuScene.SubMenuPanel.SetActive(false); afterFinished?.Invoke(); }); DisplayPlayerArrow(true); DisplayAllCharacterInfo(true); if (ButtonGroupState.HelpEnabled) { DisplayHelp(false); } HelpDespLabelGameObject.SetActive(FF9StateSystem.PCPlatform); }