Click or drag to resize

PlayerGetButtonTimeUnpressed(Int32) Method

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

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

Parameters

actionId  Int32
Id of the Action

Return Value

Double
The duration of the button inactivity.
See Also