PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

DevTouchMovementMode

DevTouchMovementMode

Used for the developer to override the movement mode of players who are playing on touch devices.


Enums

Name Value Description

UserChoice

0

The player’s character will moved based on the user’s settings.

Thumbstick

1

The player’s character is controlled with a virtual thumbstick that moves with the player’s finger. Jumping is controlled with a separate button.

DPad

2

The player’s character is controlled with a virtual dpad. The dpad consists of directional buttons with a jump button in the middle.

Thumbpad

3

The player’s character is controlled with a virtual thumbpad that stays stationary as the player’s finger moves. Jumping is controlled with a separate button.

ClickToMove

4

The player’s character will attempt to move to a location in the world when the player taps a location.

Scriptable

5

The player will not respond to default controls; any character movement must be defined in custom scripts.

DynamicThumbstick

6

The player’s character is controlled with one hand while holding their device in portrait mode.

Referenced by

  • Player/DevTouchMovementMode
  • StarterPlayer/DevTouchMovementMode