Chapter 3. Communicating with the Player – the User Interface

User interfaces, often referred to as UIs for short, play a vital role in a game, since it's one of the main way to exchange information with the player. Usually, the game provides information, status, or stats of the game and the player interacts with the game with input through the UI.

This chapter will explain why UIs play such an important role in games and about the different things that we need to take into consideration when we design and/or implement UIs. Of course, this chapter will focus on the Unity framework to build UIs, and explains how to use it.

In the last part of the chapter, we will see how to start with UI programming from a practical point of view by implementing ...

Get Getting Started with Unity 5.x 2D Game Development 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.