Click or drag to resize

PlayerGetButtonDown Method (String)

Gets the button just pressed state of an Action. This will only return TRUE only on the first frame the button is pressed or for the duration of the Button Down Buffer time limit if set in the InputBehavior assigned to this Action. This also applies to axes.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool GetButtonDown(
	string actionName
)

Parameters

actionName
Type: SystemString
Name of the Action

Return Value

Type: Boolean
The button just pressed state
See Also