ドキュメント

Unity Engine

Unity Engine

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 分最終更新 1ヶ月前

Definition

public Vector2 mousePosition { get; }

Remarks

If the event that triggered the dropdown menu to display was not a mouse event, this property is zero.