Chapter 10

Menus and User Interface

In this chapter, first up is a full breakdown of the main menu used for all of the example games. The main menu structure should provide a perfect starting place for any main menu system.

The second part of this chapter will look at in-game UI and how the example games derive from a class that helps to store useful data.

10.1 The Main Menu

First impressions last. When you walk by a store, its appearance may influence your decision whether to go in and browse or to keep walking. If the outside of the store looks rundown or badly kept, it may also affect how you feel about the goods inside. A quick visit ...

Get C# Game Programming Cookbook for Unity 3D 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.