Skip to Content
Mastering UI Development with Unity
book

Mastering UI Development with Unity

by Dr. Ashley Godbold
April 2018
Beginner content levelBeginner
468 pages
11h 7m
English
Packt Publishing
Content preview from Mastering UI Development with Unity

Horizontal Layout Group

All the children of a UI object with a Horizontal Layout Group component will be automatically placed side by side. If you allow the Horizontal Layout Group to resize the children, the children will be positioned and scaled so that they are fully within the bounds of the parent object's Rect Transform. Padding properties can be adjusted, however, if you'd like them to go outside the bounds of the parent's Rect Transform.

The order in which the children appear in the Hierarchy determines the order in which they will be laid out by the Horizontal Layout Group. The children will be laid out from left to right. The topmost child in the hierarchy will be placed in the leftmost position and the bottommost child in the hierarchy ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Game Development with Unity for .NET Developers

Game Development with Unity for .NET Developers

Jiadong Chen
Unity UI Cookbook

Unity UI Cookbook

Francesco Sapio

Publisher Resources

ISBN: 9781787125520Supplemental Content