From the course: Cert Prep: Unity Certified Associate Game Developer UI and 2D Games
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Creating buttons - Unity Tutorial
From the course: Cert Prep: Unity Certified Associate Game Developer UI and 2D Games
Creating buttons
- [Narrator] In the previous movie, we saw the Sprite selection feature of unity using the Sprite editor. This allowed me to select our options nine slice texture and Mark out the region. We're going to be using for the background of our button. Now it's time to add the button itself and to configure its background from this texture. It's really easy to do. Let's see how I'm going to expand the canvas object in the hierarchy. And then inside that we have the background itself and it's expand the background and then choose the panel buttons object from the scene tab you can see that, the boundary is around here and effectively. This marks out the region about menu inside which our buttons should exist. So I'm going to right click on the panel buttons from the menu, choose UI and then select button and add the button to the scene. By checking out the hierarchy panel. You can see already that we get this twirly icon…
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.