Version: 2022.3
public Vector2 maxSize ;

描述

Maximum size of the Overlay.

Overlays can be resized. The maxSize variable is the maximum width and height that the Overlay can be resized. This is typically a Vector2(4000,4000). If the axis of both the minSize and maxSize are set to 0, resizing is disabled for that axis.