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.

Making a HUD menu button

Making a HUD menu button - Unity Tutorial

From the course: Unity: AR Visualization 02 Basic Interactivity

Start my 1-month free trial

Making a HUD menu button

- [Instructor] Now that we have a HUD canvas created we're going to go and make our menu buttons. First thing we're going to do is separate our menu buttons by creating different states and make these different states into a game object containers. We're going to start off by clicking on the HUD game object and create empty and we can call this this is going to be our default state and we can call this object default. All right. So automatically got a rect transform added so we just want to make sure that our anchors are set to fill and let's go and clear out all this other stuff. Perfect. So now our default game object is going to fill our HUD. Now we're going to go and add our actual menu button. Let's go create an empty and we're going to call this menu. We don't want this to fill our HUD but we do want it to align with the top left hand corner. So first thing we're going to do click on our anchors going to set to top left…

Contents