Version: 2021.3

EditorGUIUtility.GetMainWindowPosition

切换到手册
public static Rect GetMainWindowPosition ();

返回

Rect Position of Unity Editor's main window.

描述

Returns position of Unity Editor's main window.