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.
阅读时间1 分钟最后更新于 23 天前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static Rect GetMainWindowPosition()
Returns
Type | Description |
|---|---|
| Rect | Position of Unity Editor's main window. |