IInputTryGetIndexOfAxis 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 TryGetIndexOfAxis(
	string targetAxis,
	out int index
)

Parameters

targetAxis  String
target
index  Int32
Index of target registered keyCode

Return Value

Boolean
True on success

See Also