文档

Unity Engine

Unity Engine

mouseDelta

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

Definition

Vector2 mouseDelta { get; }

Remarks

This value is based on IMouseEvent.mousePosition and is expressed in panel coordinates.