schlangster/skyui

MCM Key Menu

Sheiliar opened this issue · 0 comments

Can anyone let me know how can I take my config menu popped up by key pressing? I have a key-press script, but how can I know my page link? For example, I want my page open by N key. Sorry for bad english , best regards!
This is default script:

Event OnUpdate()
If bIsHotkeyPressed != Input.IsKeyPressed(iHotkey)
bIsHotkeyPressed = !bIsHotkeyPressed
If bIsHotkeyPressed
Debug.Trace("Do something.")
EndIf
EndIf
RegisterForSingleUpdate(0.25)
EndEvent