InputActionEventDataGetButtonTimePressed Method |
Gets the length of time in seconds that a button has been continuously held down. Returns 0 if the button is not currently pressed.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntaxpublic double GetButtonTimePressed()
Return Value
DoubleThe duration of the button hold.
See Also