From the course: Unity 5: Build a Character Dialogue System

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Our first canvas

Our first canvas - Unity Tutorial

From the course: Unity 5: Build a Character Dialogue System

Start my 1-month free trial

Our first canvas

- [Narrator] Now that we've got the JSON factory squared away and tested, let's get our first canvas on screen. In the scene hierarchy, right click, select UI, and Canvas. Notice that it comes with an event system, which is fine. You don't have to worry about that at this point. I'm going to save that. Now if you're new to Unity UI, you might be surprised that the camera stays in the lower left of the screen while the canvas is actually massive. Don't worry, Unity takes care of the mapping magic behind the scenes and gives us a nice, big playground to design our UI. I'm going to zoom in here just to take a closer look at our canvas. The layout is going to consist of a few moving parts with a static background image. Since the background is easiest to implement, let's start with that. Still in our scene hierarchy, right click on Canvas, go to UI, and select an Image. In the Inspector, we're going to change the source image to our background graphic asset. Since this is static, we can…

Contents