文档

Unity Engine

Unity Engine

localMousePosition

The mouse position in the current target coordinate system.
阅读时间1 分钟最后更新于 23 天前

Definition

Vector2 localMousePosition { get; }

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