Auto Layout
The auto layout system provides ways to place elements in nested layout groups such as horizontal groups, vertical groups, or grids. It also allows elements to automatically be sized according to the contained content.
Topic | Description |
---|---|
Layout Element | Controls the minimum, preferred, and flexible sizes of a layout element. |
Content Size Fitter | Controls the size of its own layout element. |
Aspect Ratio Fitter | Sizes the RectTransform to maintain a specific aspect ratio. |
Horizontal Layout Group | Arranges child elements in a horizontal row. |
Vertical Layout Group | Arranges child elements in a vertical column. |
Grid Layout Group | Arranges child elements in a grid. |