IInputGetIndexOfKey Method
Get index of a registered keyCode.
If the target keyCode dos not exist it returns -1
Namespace: AlterunaAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
int GetIndexOfKey(
KeyCode keyCode
)
- keyCode KeyCode
- target
Int32index on success,
-1 on fail.