EditorGUIUtility.GetMainWindowPosition

Switch to Manual
public static Rect GetMainWindowPosition ();

Returns

Rect Position of Unity Editor's main window.

Description

Returns position of Unity Editor's main window.