文档

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 分钟最后更新于 25 天前

Definition

public Vector3 deltaPosition { get; protected set; }

Remarks

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