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.

Canvas and event systems

Canvas and event systems - Unity Tutorial

From the course: Cert Prep: Unity Certified Associate Game Developer UI and 2D Games

Start my 1-month free trial

Canvas and event systems

- [Instructor] Now the first step in building a UI involves setting the background. You can see from the editor here that when I select the main camera in our scene, in the preview here we see this blue color. If I jump over to the game tab, we also see that too. Now I'm going to set the background color by using the camera component. So with the camera selected, moved to the inspector and for the background fields where it says blue here, I can select a new color from the color swatch and I'm going to choose the color completely black. So we have a completely black background. We can also see that background when I select the camera and in the preview to. Great. Now, the next thing to do for a user interface is to create the surface on which the user interface will be presented by Unity. That's pretty easy to set up. All you need to do is move to the menu here, for game object choose game object UI and then…

Contents