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

Rect Transform component

As stated earlier, UI elements do not have the standard Transform component, they have the Rect Transform component. If you compare it to a standard Transform component, you will see that it has quite a few more properties.

You can use it to change the position, the rotation, and the scale, just as you can with the Transform, but there are the added properties of Anchor Presets (represented by the square image in the top left corner), two values for determining dimension: Anchor Min and Max points, and Pivot point.

It's important to note that the Scale value is considered the Local Scale. If you rescale the object ...

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