快捷键操作

This commit is contained in:
bob
2025-06-04 12:55:36 +08:00
parent 30836558ae
commit 55f49e1af7
8 changed files with 90 additions and 32 deletions

View File

@@ -2,8 +2,6 @@
using System.Collections.Generic;
using FairyGUI;
using NBC;
using UnityEngine;
namespace NBF
{
@@ -26,6 +24,7 @@ namespace NBF
buttons.Add(BtnTest);
navigate = new ButtonNavigate(buttons);
this.AutoListenInput();
}
protected override void OnShow()
@@ -74,6 +73,9 @@ namespace NBF
private void UseBottomMenu()
{
BottomMenu.Use(Panel);
BottomMenu.AddRightButton(InputDef.UI.Enter);
BottomMenu.AddRightButton(InputDef.UI.Back);
}
}
}