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

Laying out the Text Box Windows

To create the textbox windows that will display our text, complete the following steps:

  1. Create a new UI Canvas and name it Text Canvas. Set its Canvas and Canvas Scalar properties, as shown:
  2. Create a new UI Image and name it TextHolder1. Set its anchor and pivot to middle center. Assign uiElements_10 to the Source Image, and then select Set Native Size to cause the image's size to be set to 223 x 158.
  1. This panel will hold an image of our cat, some text, and a continue button. Utilizing anchors, pivots, and stretching, lay out the UI objects as children of TextHolder1 so that they appear as illustrated: ...
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