From the course: Unity: AR Visualization 02 Basic Interactivity

Unlock the full course today

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

Setting up your first menu panel

Setting up your first menu panel - Unity Tutorial

From the course: Unity: AR Visualization 02 Basic Interactivity

Start my 1-month free trial

Setting up your first menu panel

- [Instructor] Now that we've finished setting up our HUD we're going to add in our first menu and our menu containers. To do that, let's go and add our menu's container. Click on the 2D Camera and let's go and add an Empty. We're going to call this Menus. Perfect. Let's go and add our first menu and add our main menu. Right click, let's go and add another Empty. Excellent. So, our main menu is going to need a canvas. We're going to set this canvas to screen space camera, like we have before and hook up our 2D Camera. Now, that we have our camera setup, let's go ahead and set our sorting layer to UI pages. It's going to make sure that all of these pages that are in our menu are going to appear above the HUD. So, we got that down, that's great. Need a couple of other things. We need to interact with our dialogues, our menus. So we need to add a raycaster. We also want this menu to stretch to the full size of the screen.…

Contents