Displaying Data with Core UI Elements

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

Get Unity 2021 Cookbook - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.