home打开关闭逻辑修改调整提交

This commit is contained in:
2026-02-04 09:11:27 +08:00
parent 10c6fabd73
commit c7676793d5
36 changed files with 2023 additions and 708 deletions

View File

@@ -36,10 +36,21 @@ namespace NBF
protected override void OnShow()
{
InputManager.Instance.On(this);
Menu.SetTabs(tabList);
ChangeTab(0);
}
#region UI事件
[InputInvoke(InputDef.UI.Back, UIInputButtonShowMode.BottomRight)]
private void OnBack()
{
Hide();
}
#endregion
#region Tab切换
private void ChangeTab(int index)
@@ -84,6 +95,7 @@ namespace NBF
protected override void OnHide()
{
InputManager.Instance.Off(this);
}
protected override void OnDestroy()