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,500 courses taught by industry experts or purchase this course individually.
Creating labels and text - Unity Tutorial
From the course: Cert Prep: Unity Certified Associate Game Developer UI and 2D Games
Creating labels and text
- [Instructor] Every menu needs a title and ours is no different. In this video, we're going to see how to add text to our UI elements. It's really easy to set up and we'll see how to do that. To start, I'm going to be selecting the panel object that we created in the previous movie. You can see a preview of that here in the inspector. I want to add a title across the top here that's going to say my super fund game. So I'm going to go back to the scene tab here, and make sure I select the panel buttons, and right click, and then choose UI and select text. The very top option. Now, when I do this, you can see by zooming in that we do have a text element with the completely unimaginative statement of new text aligned to the top left. Well, let's begin to resize and reposition this by clicking and dragging the text element to the top here. I'm going to move it to the center and then make sure I select the wrecked tool…
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.