文档

Unity Engine

Unity Engine

maxSize

The maximum size of this window when it is floating or modal. The maximum size is not used when the window is docked.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public Vector2 maxSize { get; set; }

Remarks

An EditorWindow can be resized. The EditorWindow.maxSize variable provides the largest width and height that is supported. This is typically a Vector2(4000,4000). Note that this size is likely to be larger than most screen resolutions.