文档

Unity Engine

Unity Engine

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 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static Rect GetMainWindowPosition()

Returns

Type

Description

RectPosition of Unity Editor's main window.