IInputTryGetIndexOfKey Method
Attempts to get index of a registered keyCode.
If the target keyCode dos not exist, return false and index will be 0
Namespace: AlterunaAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
bool TryGetIndexOfKey(
KeyCode keyCode,
out int index
)
- keyCode KeyCode
- target
- index Int32
- Index of target registered keyCode
BooleanTrue on success