 | InputUtilsGUIMousePosition Property |
Returns the current mouse position on the GUI.
Considers that the coordinate system of the world starts in the top-left corner,
but the coordinate system of the GUI starts in the bottom-left corner,
so the y coordinate is inverted.
Namespace: Slash.Unity.Common.InputAssembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntaxpublic static Vector2 GUIMousePosition { get; }
Public Shared ReadOnly Property GUIMousePosition As Vector2
Get
public:
static property Vector2 GUIMousePosition {
Vector2 get ();
}
static member GUIMousePosition : Vector2 with get
Property Value
Type:
Vector2
See Also