完成按键输入按键显示
This commit is contained in:
@@ -24,13 +24,11 @@ namespace NBF
|
||||
// buttons.Add(BtnTest);
|
||||
|
||||
navigate = new ButtonNavigate(buttons);
|
||||
this.AutoListenInput();
|
||||
}
|
||||
|
||||
protected override void OnShow()
|
||||
{
|
||||
InputManager.OnUICanceled += OnUICanceled;
|
||||
UseBottomMenu();
|
||||
|
||||
// Model.LoadAsset(0);
|
||||
// Model.SetBackground(Panel.Back.GetChild("back"));//, Panel.Back.GetChild("icon")
|
||||
@@ -72,13 +70,5 @@ namespace NBF
|
||||
navigate.Click();
|
||||
}
|
||||
}
|
||||
|
||||
private void UseBottomMenu()
|
||||
{
|
||||
BottomMenu.Use(Panel);
|
||||
|
||||
BottomMenu.AddRightButton(InputDef.UI.Enter);
|
||||
BottomMenu.AddRightButton(InputDef.UI.Back);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user