Class TouchPanGesture
Inheritance
System.Object
TouchPanGesture
Syntax
public class TouchPanGesture : TouchGesture, IGesture
Constructors
TouchPanGesture()
Declaration
TouchPanGesture(Action<Vector2>)
Declaration
public TouchPanGesture(Action<Vector2> onPan)
Parameters
| Type |
Name |
Description |
| System.Action<Vector2> |
onPan |
|
Properties
DetectionThreshold
Declaration
public float DetectionThreshold { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
FingersNumber
Declaration
public int FingersNumber { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
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 |
| System.Action<Vector2> |
|
onPanEnd
Declaration
public event Action onPanEnd
Event Type
| Type |
Description |
| System.Action |
|
onPanStart
Declaration
public event Action onPanStart
Event Type
| Type |
Description |
| System.Action |
|