文档

Unity Engine

Unity Engine

deltaPosition

Gets the difference between the pointer's position during the previous pointer event and its position during the current pointer event.
阅读时间1 分钟最后更新于 1 个月前

Definition

Vector3 deltaPosition { get; }

Remarks

This value is based on IPointerEvent.position and is expressed in panel coordinates.