mouseDelta
Gets the difference between the mouse's position during the previous mouse event and its position during the current mouse event.
阅读时间1 分钟最后更新于 24 天前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Vector2 mouseDelta { get; protected set; }
Remarks
This value is based on IMouseEvent.mousePosition and is expressed in panel coordinates.