ControllerGetButtonDoublePressHoldById(Int32, Single) Method |
Gets the double press and hold state of the button at the specified element identifier id.
This will return TRUE after the double press is detected and for as long as the button is held thereafter.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntaxpublic virtual bool GetButtonDoublePressHoldById(
int elementIdentifierId,
float speed
)
Parameters
- elementIdentifierId Int32
- Element identifier id
- speed Single
- Double press speed in seconds
Return Value
BooleanButton double press and hold state
See Also