Click or drag to resize

PlayerGetButtonDoublePressHold Method (Int32, Single)

Gets the button double pressed and held state of an Action. This will return TRUE after a double press and the button is then held.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool GetButtonDoublePressHold(
	int actionId,
	float speed
)

Parameters

actionId
Type: SystemInt32
Id of the Action
speed
Type: SystemSingle
Allowed time for a double press in seconds.

Return Value

Type: Boolean
The button held state
See Also