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
Let’s go down the UI rabbit hole a bit further and learn how we can create a Game Over menu with buttons the player can interact with, making a much nicer losing experience.
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
to replace the automatic scene reloading
we currently have.
0:00
Let's start by right clicking on our
canvas and go up to UI and select Panel.
0:01
This creates an object with
an image property that covers the screen.
0:07
This will be the parent object
for our menu, so let's rename it
0:12
to Game Over Menu.
0:15
I'm going to change the color
to pure black,
0:22
and we can adjust this alpha property
to affect its opacity.
0:25
This will create a nice visual
for the player and still allow them
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