TouchPhase
Indicates where in its lifecycle a given touch is.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEditor.DeviceSimulation
- Assembly: UnityEditor.DeviceSimulatorModule
public enum TouchPhase
Fields
Value | Description |
|---|---|
| Began | A touch has begun. Only the first touch event in any given touch will have this phase. |
| Canceled | A touch has ended in a way other than through user interaction. |
| Ended | A touch has ended. Only the last touch event in a given touch will have this phase. |
| Moved | A touch has changed position. |
| Stationary | A touch has not moved. |