FingersJoystickScript Fields |
The FingersJoystickScript type exposes the following members.
| Name | Description | |
|---|---|---|
| AddUpToOne | Whether the x and y absolute values should add up to 1. If false, both can be 1 at a full diagonal. | |
| CrossPlatformInputHorizontalAxisName | Horizontal input axis name if cross platform input integration is desired. | |
| CrossPlatformInputVerticalAxisName | Vertical input axis name if cross platform input integration is desired. | |
| EightAxisMode | In eight axis mode, the joystick can only move up, down, left, right or diagonally. No in between. | |
| FollowSpeed | The speed at which the joystick moves with the finger if it is dragged beyond the edge. 0 for no follow. | |
| JoystickBackground | The background image of the joystick | |
| JoystickCallback |
Fires when joystick changes
| |
| JoystickExecuted |
Fires when the joystick moves
| |
| JoystickImage | The image to move around like a joystick | |
| JoystickPower | Reduces the amount the joystick moves the closer it is to the center. As the joystick moves to it's max extents, the movement amount approaches 1. For example, a power of 1 would be a linear equation, 2 would be squared, 3 cubed, etc. | |
| MaxRangeRadiusMultiplier | Reduce the max range of the joystick based on radius of the joystick | |
| MoveJoystickToGestureStartLocation | Whether to move the joystick when the pan gesture starts. |