A stick control displayed on screen and moved around by touch or other pointer
input.
Inheritance
OnScreenStick
public class OnScreenStick : OnScreenControl, IPointerDownHandler, IPointerUpHandler, IDragHandler
Properties
Declaration
protected override string controlPathInternal { get; set; }
Property Value
Overrides
Declaration
public float movementRange { get; set; }
Property Value
Methods
Declaration
public void OnDrag(PointerEventData eventData)
Parameters
Type |
Name |
Description |
PointerEventData |
eventData |
|
Declaration
public void OnPointerDown(PointerEventData eventData)
Parameters
Type |
Name |
Description |
PointerEventData |
eventData |
|
Declaration
public void OnPointerUp(PointerEventData eventData)
Parameters
Type |
Name |
Description |
PointerEventData |
eventData |
|