Class TouchPanGesture
Inheritance
TouchPanGesture
Syntax
public class TouchPanGesture : TouchGesture, IGesture
Constructors
TouchPanGesture()
Declaration
TouchPanGesture(Action<Vector2>)
Declaration
public TouchPanGesture(Action<Vector2> onPan)
Parameters
Type |
Name |
Description |
Action<Vector2> |
onPan |
|
Properties
DetectionThreshold
Declaration
public float DetectionThreshold { get; set; }
Property Value
FingersNumber
Declaration
public int FingersNumber { get; set; }
Property Value
Multiplier
Declaration
public Vector2 Multiplier { get; set; }
Property Value
Methods
Update()
Declaration
public override void Update()
Overrides
Events
onPan
Declaration
public event Action<Vector2> onPan
Event Type
Type |
Description |
Action<Vector2> |
|
onPanEnd
Declaration
public event Action onPanEnd
Event Type
onPanStart
Declaration
public event Action onPanStart
Event Type