PlayerGetNegativeButtonSinglePressUp Method (Int32) |
Gets the negative button single pressed and just released state of an Action.
This will return TRUE for only the first frame after the release of a single press.
This will never return TRUE if a double press occurs.
This method is delayed because it only returns TRUE after the double press timeout has expired.
Only use this method if you need to check for both a single press and a double press on the same Action.
Otherwise, use
GetNegativeButtonUp instead for instantaneous negative button press detection.
The double press speed is set in the
InputBehavior assigned to the Action.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool GetNegativeButtonSinglePressUp(
int actionId
)
Parameters
- actionId
- Type: SystemInt32
Id of the Action
Return Value
Type:
BooleanThe negative button single press just released state
See Also