Version: 2021.3
public Vector2 maxSize ;

描述

The maximum size of this window when it is floating or modal. The maximum size is not used when the window is docked.

An EditorWindow can be resized. The 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.