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+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntaxpublic double GetButtonTimePressed()
Return Value
DoubleThe duration of the button hold.
See Also