IInputTryGetIndexOfKey Method

Attempts to get index of a registered keyCode. If the target keyCode dos not exist, return false and index will be 0

Definition

Namespace: Alteruna
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
bool TryGetIndexOfKey(
	KeyCode keyCode,
	out int index
)

Parameters

keyCode  KeyCode
target
index  Int32
Index of target registered keyCode

Return Value

Boolean
True on success

See Also