Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Unity Basics!
You have completed Unity Basics!
Preview
The Unity Canvas is huge… literally and figuratively. Let’s get one set up and display our new score system to the player, updating it in real-time.
Unity UI Documentation
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
UI elements are crucial
for any video game, whether it be simple
0:00
text, a heads up display, menus
with buttons, health bar sliders, etc.
0:02
Unity has an... interesting way
of working with these
0:08
and to be honest, I struggled
with it for a while when I first started.
0:10
I encourage you to keep practicing
and you'll get the hang of it in no time.
0:14
So first, what we need is a canvas.
0:18
Let's right-click in the hierarchy
and scroll down to UI and select
0:21
Canvas down here.
0:25
You'll notice it also added something
called an Event System.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up