PlayerGetButtonTimeUnpressed(String) Method |
Gets the length of time in seconds that a button has not been pressed. Returns 0 if the button is currently pressed.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntaxpublic double GetButtonTimeUnpressed(
string actionName
)
Parameters
- actionName String
- Name of the Action
Return Value
DoubleThe duration of the button inactivity.
See Also