InputSynchronizableGetIndexOfKey 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#
public int GetIndexOfKey(
	KeyCode keyCode
)

Parameters

keyCode  KeyCode
target

Return Value

Int32
index on success, -1 on fail.

Implements

IInputGetIndexOfKey(KeyCode)

See Also