ControllerGetButtonIndexById Method |
Gets the index of the Button with the specified element idenfitier id.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntaxpublic int GetButtonIndexById(
int elementIdentifierId
)
Parameters
- elementIdentifierId Int32
- The element identifier id.
Return Value
Int32The index of the Button with the specified element idenfitier id. Returns -1 if not found.
See Also