Mobile Joystick
Last updated
Last updated
This component is in charge of calculating the resulting Vector2 Axis from moving a UI Joystick.
Use the sample prefab provided as starting point.
Inverts the Horizontal value of the Joystick
Inverts the Horizontal value of the Joystick
If true, then the joystick will not use the starting position as guide for calculating the movement axis. Useful for making an area Joystick. E.g. Camera Area Joystick Prefab.
If the Axis Magnitude is lower than this value then the Axis will zero out
Multiplier value for the Horizontal movement. Higher values more
Multiplier value for the Vertical movement
All References values are the internal values of the Joystick component logic. They can be used as scriptable variables so they can be used by other components
Axis value of the Joystick. X -> Horizontal value; Y -> Vertical Value
Store whether if the joystick is pressed or not
Invoked when the joystick is pressed down.
Invoked when the joystick is released.
Invoked when the joystick changes its press value (True: Press Down, False: Released)
Invoked the axis value of the Joystick. X -> Horizontal value; Y -> Vertical Value
Invoked when the Horizontal(X) value of the Joystick changes.
Invoked when the Vertical(Y) value of the Joystick changes.