FingersDPadScript Fields |
The FingersDPadScript type exposes the following members.
Name | Description | |
---|---|---|
CrossPlatformInputHorizontalAxisName | Horizontal input axis name if cross platform input integration is desired. | |
CrossPlatformInputVerticalAxisName | Vertical input axis name if cross platform input integration is desired. | |
DPadBackgroundImage | The background image to use for the DPad. This should contain up, right, down, left and center in unselected state. | |
DPadCenterImageSelected | The center image to use for the DPad for selected state. Alpha pixel of less than MinAlphaForTouch will not be selectable. | |
DPadDownImageSelected | The down image to use for the DPad for selected state. Alpha pixel of less than MinAlphaForTouch will not be selectable. | |
DPadItemPanned |
Fires when a dpad item is panned on
| |
DPadItemTapped |
Fires when a dpad item is tapped
| |
DPadLeftImageSelected | The left image to use for the DPad for selected state. Alpha pixel of less than MinAlphaForTouch will not be selectable. | |
DPadRightImageSelected | The right image to use for the DPad for selected state. Alpha pixel of less than MinAlphaForTouch will not be selectable. | |
DPadUpImageSelected | The up image to use for the DPad for selected state. Alpha pixel of less than MinAlphaForTouch will not be selectable. | |
TouchRadiusInUnits | Touch radius in units (usually inches). Set to lowest for single pixel accuracy, or larger if you want more than one dpad button interactable at once. You'll need to test this to make sure the DPad works how you expect for an average finger size and your screen size. |