Vertical Layout Group

The Vertical Layout Group component works very similarly to the Horizontal Layout Group and has all the same properties, except that children of a UI object with a Vertical Layout Group component will be automatically placed on top of each, rather than side by side.

As with the Horizontal Layout Group, the order in which the children appear in the Hierarchy determines the order in which they will be laid out by the Vertical Layout Group. The children will be laid out from top to bottom in the same order in which they appear in the Hierarchy:

Vertical Layout Groups Example in the Chapter3Text Scene

To add a Vertical Layout ...

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.