Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


maxSize

Maximum size of the Overlay.
Read time 1 minuteLast updated 10 days ago

Definition

public Vector2 maxSize { get; set; }

Remarks

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.