主页面相关内容和快捷键修改

This commit is contained in:
bob
2025-06-03 18:04:28 +08:00
parent 9334999332
commit 372e81508e
101 changed files with 607 additions and 833 deletions

View File

@@ -6,8 +6,11 @@ namespace NBF
{
public int Page;
public void Show()
public HomePanel Panel;
public void Show(HomePanel panel)
{
Panel = panel;
ShowAnimation();
OnShow();
}
@@ -34,10 +37,7 @@ namespace NBF
private void HideAnimation()
{
GTween.Kill(this);
TweenFade(0, 0.2f).OnComplete(() =>
{
visible = false;
});
TweenFade(0, 0.2f).OnComplete(() => { visible = false; });
}
#endregion