KeyboardGetButtonIndexByKeyCode Method |
Gets the Button index that corresponds to the specified KeyboardKeyCode.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntaxpublic int GetButtonIndexByKeyCode(
KeyboardKeyCode keyCode
)
Parameters
- keyCode KeyboardKeyCode
- The KeyboardKeyCode of the key.
Return Value
Int32Button index. -1 if not found.
See Also