GetMainWindowPosition()
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.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static Rect GetMainWindowPosition()
Returns
Type | Description |
|---|---|
| Rect | Position of Unity Editor's main window. |