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
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