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
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
Vector2 mouseDelta { get; }
Remarks
This value is based on IMouseEvent.mousePosition and is expressed in panel coordinates.