EditorGUIUtility.GetMainWindowPosition

Declaration

public static Rect GetMainWindowPosition();

Returns

Rect Position of Unity Editor's main window.

Description

Gets the position of the main window of the Unity Editor. This is the top level Editor Window that contains all the other Editor views, such as the Project Browser, Hierarchy, and Console.


Did you find this page useful? Please give it a rating: