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

Ignore Layout

The Ignore Layout property can be used to have the object ignored by any automatic layout components of the parent object. A child with this property selected can be moved and resized freely, and all other children will be laid out without regard for the ignored child.

In the following example, the panel has a Horizontal Layout Group component and five child objects. The first child, labeled with a 1, has a Layout Element component with the Ignore Layout property selected:

Layout Element Example 1 in the Chapter3Text Scene

You can see, since the Ignore Layout property is selected for the first child, that it can be moved around ...

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