From the course: Unity: AR Visualization 02 Basic Interactivity
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Creating the UI Pop-up - Unity Tutorial
From the course: Unity: AR Visualization 02 Basic Interactivity
Creating the UI Pop-up
- [Instructor] All right, so now that we know a little bit more about what Screen Space in World UI is all about, we're going to go ahead and make our little pop-up for our jet engine parts. The first thing I'm going to do is go and go grab my 2D camera, and create an empty underneath here. I'm going to call this Part UI. There we go. And make sure that all my settings are zeroed out. Cool, so now I'm going to make a canvas for this Part UI. Call that Canvas, and I'm going to go add a canvas component. All right, we're going to leave it as World Space. And we're going to grab our 2D camera as I already defined camera, in there. Perfect! Now I'm going to set my sorting layer to InWorldUI. Now, notice the sorting layer is InWorldUI, is underneath the HUD, and the UI pages. Meaning that this pop-up will appear underneath the HUD, and the menu pages that we have. Now, I do want to interact with this canvas, so I need to add…
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.