localMousePosition
The position of the mouse if the event that triggered the dropdown menu to display was a mouse event.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Vector2 localMousePosition { get; }
Remarks
The position is expressed in the coordinate system of the element that received the mouse event. If the event that triggered the dropdown menu to display was not a mouse event, the value of this property is zero.