Click or drag to resize

ControllerGetButtonIndexById Method

Gets the index of the Button with the specified element idenfitier id.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntax
C#
public int GetButtonIndexById(
	int elementIdentifierId
)

Parameters

elementIdentifierId  Int32
The element identifier id.

Return Value

Int32
The index of the Button with the specified element idenfitier id. Returns -1 if not found.
See Also