A key element that contributes to the entertainment and enjoyment of most games is the quality of the visual experience, and an important part of this is the user interface (UI). UI elements involve ways for the user to interact with the game (such as buttons, cursors, and text boxes), as well as ways for the game to present up-to-date information to the user (such as the time remaining, current health, score, lives left, or location of enemies). This chapter is filled with UI recipes to give you a range of examples and ideas for creating game UIs.
Every game and interactive multimedia application is different, and so this chapter attempts to fulfill two key roles:
- The first aim is to provide step-by-step instructions on how to create a range of Unity 2021 basic UI elements and, where appropriate, associate them...