

We will also be taking a look at how to show certain UI elements only at certain times – such as when the game is paused or when the player dies/loses. In this tutorial, we are going to take that to the next level, and allow users to pause or restart the game and switch between different scenes.

In a previous article describing how to create Dodger in Unity, we created a small button to refresh the game if a player lost. Most games have some sort of UI which makes it easier for players to switch between levels and activate certain controls (such as pausing the game or restarting a level). that can be seen when playing a game? All of that is part of what is called the User Interface (UI). What are the buttons, text, dropdowns, etc.
