O'Reilly logo

Getting Started with Unity by Patrick Felicia

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 a menu system for your game

We have almost finished our game and level. For our game to be complete, we will need to create a splash screen and instructions, as well as screens to be displayed when the player has lost or succeeded. These screens will be created using scenes, and navigation between them will be implemented using buttons. To open a particular menu (for example, splash screen, instructions, or game over), we will load the corresponding scene. The background of the splash screen will include the maze created earlier and some animated zombies (idle). First let's create a prefab for the maze so that it can be reused.

Open the last scene, select the folder Assets | chapter6, create a new prefab (that is, select: Create | Prefab ...

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