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

Setting up a basic pop-up menu

The last example we will cover in this chapter will utilize the Canvas Group component. We won't be able to really see this component in action until we start programming in Chapter 4, The Event System and Programming for UI, but we can lay the groundwork now. We'll also get a bit more practice with laying out UI with this example.

To create the pop-up menu shown in the preceding image, complete the following steps:

  1. Create a new Canvas using Create | UI | Canvas.
  2. In the Canvas Inspector, change the name to Popup Canvas.
  3. I want to use the same properties for the Canvas Scaler on this Canvas that I used for the ...
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