Click or drag to resize

PlayerGetButtonDoublePressHold Method (String, 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(
	string actionName,
	float speed
)

Parameters

actionName
Type: SystemString
Name of the Action
speed
Type: SystemSingle
Allowed time for a double press in seconds.

Return Value

Type: Boolean
The button held state
See Also