Click or drag to resize

PlayerGetButtonDoublePressDown Method (String, Single)

Gets the button double pressed state of an Action. This will return TRUE only on the first frame of a double press.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool GetButtonDoublePressDown(
	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 just pressed state
See Also