IInputGetIndexOfKey Method

Get index of a registered keyCode. If the target keyCode dos not exist it returns -1

Definition

Namespace: Alteruna
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
int GetIndexOfKey(
	KeyCode keyCode
)

Parameters

keyCode  KeyCode
target

Return Value

Int32
index on success, -1 on fail.

See Also