Click or drag to resize

PlayerGetButtonDoublePressDown(Int32, Single) Method

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(
	int actionId,
	float speed
)

Parameters

actionId  Int32
Id of the Action
speed  Single
Allowed time for a double press in seconds.

Return Value

Boolean
The button just pressed state
See Also