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 ...

Get Getting Started with Unity now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.