Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.