文档

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 分钟最后更新于 1 个月前

Definition

Vector2 mouseDelta { get; }

Remarks

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