O'Reilly logo

Building an RPG with Unity 5.x by Vahé Karamian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the Main Menu

Now is a good time to create the starting point for our game. Go ahead and save the current scene. We are going to make a new scene that will be used as the starting point of our game. To create the new scene, you will need to select File | New Scene. Go ahead and save the scene. I called my scene Main Menu.

Now we have a clear canvas that we can work with to create our Main Menu. In the Hierarchy Window, right-click and select UI | Panel. This will create a Canvas GameObject and an EventSystem GameObject and place them in your Hierarchy window. You will notice that the Panel UI object is a child of the Canvas. All UI elements will be a child of a Canvas.

Your Hierarchy should look something like the preceding .

There are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required