StartAvatarInputCapture

Method

Starts overriding input for the avatar.

Definition

void StartAvatarInputCapture(bool movement, bool jump, bool sprint, bool actionButton, IAvatarInputActionsListener listener)
void StartAvatarInputCapture(bool movement, bool jump, bool sprint, bool actionButton, IAvatarInputActionsListener listener)

Parameters

ParameterDescription
bool movement

True if you want to override movement input (ignore Spatial movement)

bool jump

True if you want to override jump input (ignore Spatial jump)

bool sprint

True if you want to override spring input (ignore Spatial sprint)

bool actionButton

True if you want to override action input (ignore Spatial action)

IAvatarInputActionsListener listener

Listener object to capture all overriden avatar input events.