Click or drag to resize

PlayerGetNegativeButtonTimePressed Method (Int32)

Gets the length of time in seconds that a negative button has been continuously held down. Returns 0 if the negative button is not currently pressed.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public double GetNegativeButtonTimePressed(
	int actionId
)

Parameters

actionId
Type: SystemInt32
Id of the Action

Return Value

Type: Double
The duration of the negative button hold.
See Also