Displaying a mini-map of the level
In this section, we will create a mini-map of the level to help the player navigate and anticipate the position of collectable objects or enemies. First, let's create a top-down view of the maze. To add a different view of the maze, we will create a new camera and display its content in the top-right corner of the screen as shown in the following steps:
- Create a new camera (Game Object | Create Other | Camera).
- Rename this camera
- Rotate this camera about 90 degrees around the x axis, so that its rotation properties are (x=90, y=0, z=0), and change its position to (x=0, y=50, z=0).
- If we click on this camera in the Hierarchy view, and look at the camera preview (that is, the rectangle in the bottom-right ...