文档

Unity Engine

Unity Engine

localPosition

Gets the pointer position in the current target's coordinate system.
阅读时间1 分钟最后更新于 1 个月前

Definition

public Vector3 localPosition { get; protected set; }

Remarks

The value of this property changes throughout the propagation process for each element receiving the event along the propagation path.
Additional Resources: EventBase.currentTarget