mousePosition
The mouse position expressed in the global coordinate system if the event that triggered the dropdown menu to display was a mouse event.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Vector2 mousePosition { get; }
Remarks
If the event that triggered the dropdown menu to display was not a mouse event, this property is zero.