From the course: Cert Prep: Unity Certified Associate Game Developer UI and 2D Games
Unlock the full course today
Join today to access over 23,100 courses taught by industry experts.
Layouts - Unity Tutorial
From the course: Cert Prep: Unity Certified Associate Game Developer UI and 2D Games
Layouts
- [Trainer] In the previous movie, we set up this button here which works great. It interacts to mouse movement, we can click on it, and it can even hide the interface. But of course we're not going to have a menu with just one button, we want a New Game button, a Restore button and an Exit button. Now it's time to add those and to add those effectively. I mentioned previously that we could just dig into the hierarchy, grab, for example, one of the buttons, and then duplicate from the previous and you can see here that we've got this Duplicate button. I'm going to select that button for the moment and simply just delete it because there's a better way to do this and I'm going to show you how. To start, we need to create a completely new object that's going to represent just the region inside which only the buttons will appear. To do that, I'm going to select here, the panel buttons window, right-click, and then choose…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.