Click or drag to resize

ControllerGetButtonDown Method

Gets the button just pressed state of the hardware button at the specified index. This will only return TRUE only on the first frame the button is pressed This does not take into acount any controller mapping or Actions -- this is the unmapped physical button value only. Use the Player class to get button values mapped to Actions.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual bool GetButtonDown(
	int index
)

Parameters

index
Type: SystemInt32
Button index

Return Value

Type: Boolean
Button just pressed state
See Also