UI Widget Joystick

UIWidgetJoystick

HUD
Componente
Combinar:
UI Widget

Joystick entity, UI edited by the player through the UI editor

Propiedades

Nombre Tipo Descripción Nombre del script
Background Offset Vector2 Default offset of the base BackgroundOffset
Background Sprite Sprite ID Background Sprite BackgroundSprite
Background Radius Int Background Radius BackgroundRadius
Joystick Cap Image Sprite ID Joystick Cap Image JoystickImage
Joystick Cap Radius Int Joystick Cap Radius JoystickRadius
Joystick Cap Drag Radius Int Joystick Cap Drag Radius JoystickDragRadius
Arrow Sprite Sprite ID Arrow Sprite ArrowSprite
Arrow Size Vector2 Arrow Size ArrowSize
Arrow Offset Int Arrow Offset ArrowOffset
Activated Alpha Float Activated Alpha ActivatedAlpha
Inactivated Alpha Float Inactivated Alpha InactivatedAlpha
Disable Collider Bool Disable collision box DisableCollider

Event

Nombre Descripción
On Pressed Triggered when the JoyStick is pressed
On Released Triggered when the JoyStick is lifted
On Joystick Move Triggered when using the joystick