Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Getting Started with Unity 5

You're reading from  Getting Started with Unity 5

Product type Book
Published in May 2015
Publisher
ISBN-13 9781784398316
Pages 184 pages
Edition 1st Edition
Languages
Author (1):
Dr. Edward Lavieri Dr. Edward Lavieri
Profile icon Dr. Edward Lavieri

Game navigation


Many games start with a full-screen game navigation menu when the game is first launched. Typical elements on these screens are text, images, and buttons. The text will normally display the game's title and the images will be related to the game. One or more buttons are also a normal UI element on main game screens. A very simple game might have a single Play button, while more complex games can have several buttons such as play, mode, level, instructions, campaign, and more.

We do not need a fancy game menu screen to allow the user to navigate between scenes or levels. It is important to be able to create these types of screens for more complex games, so we'll dive into this a bit and add a functional button to our existing HUD canvas.

By performing the following steps, we will create a new scene to our game. This will be the main scene that shows a play button. When a user clicks on the play button, the farm scene will be loaded:

  1. Save the current scene and the project.

  2. Select...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}