测试代码
This commit is contained in:
@@ -18,6 +18,15 @@ namespace NBF
|
||||
Game.Input.OnUICanceled += OnUICanceled;
|
||||
}
|
||||
|
||||
protected override void OnUpdate()
|
||||
{
|
||||
// base.OnUpdate();
|
||||
if (Input.GetKeyDown(KeyCode.F9))
|
||||
{
|
||||
PreviewPanel.Show();
|
||||
}
|
||||
}
|
||||
|
||||
private void OnUICanceled(string action)
|
||||
{
|
||||
if (action == InputDef.UI.Back)
|
||||
|
||||
Reference in New Issue
Block a user