StartVehicleInputCapture

Method

Sets the input capture for the vehicle.

Definition

void StartVehicleInputCapture(VehicleInputFlags flags, Sprite primaryButtonSprite, Sprite secondaryButtonSprite, IVehicleInputActionsListener listener)
void StartVehicleInputCapture(VehicleInputFlags flags, Sprite primaryButtonSprite, Sprite secondaryButtonSprite, IVehicleInputActionsListener listener)

Parameters

ParameterDescription
VehicleInputFlags flags

Flags to listen for

Sprite primaryButtonSprite

Button sprite for primary action

Sprite secondaryButtonSprite

Button sprite for secondary action

IVehicleInputActionsListener listener

Listener object to capture all vehicle capture events