FingersJoystickAnywhereComponentScript Fields |
The FingersJoystickAnywhereComponentScript type exposes the following members.
Name | Description | |
---|---|---|
CrossPlatformInputHorizontalAxisName | Horizontal input axis name if cross platform input integration is desired. | |
CrossPlatformInputJumpAxisName | Jump input axis name if cross platform input integration is desired. Sends a value of 1.0 if jumped. | |
CrossPlatformInputVerticalAxisName | Vertical input axis name if cross platform input integration is desired. | |
PanAnchor | Show where the pan center is currently, null to not do this. This is the center for the current joystick, depending on where the pan started. As the pan moves away from this center, the pan amount increases up to 1. | |
PanAnchorLine | Allows drawing a line from pan anchor to current pan to help with seeing the current pan position from anchor. | |
PanCallback | The pan/move callback (values are between -1 and 1) | |
PanGestureThresholdUnits | How far the pan gesture must move before executing in units (inches) | |
PanPlatformSpecificView | The game object the pan must happen in, null for anywhere | |
PanUnitsForMaxMove | The number of units where the pan will be at maximum. For example, if you move this many units (default is inches) or more from the pan start, your move for that axis would be the maximum. | |
TapCallback | The tap/jump callback | |
TapGestureThresholdUnits | How far the tap gesture can move and still count as a tap in units (inches) | |
TapPlatformSpecificView | The game object the tap must happen in, null for anywhere | |
TapToJump | Whether a tap will register as a jump. False to not allow tap to jump. |