O'Reilly logo

Learn Unity 4 for iOS Game Development by Philip Chu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter     9

The Game GUI

Over the past several chapters, we’ve put together a fairly complete bowling game with 3D graphics, physics, sound, player controls, and automatic camera movement. The game has almost every category of feature expected in a 3D game except for one: a graphical user interface (GUI). In particular, the bowling game should have a scoreboard, and games usually have a menu that shows up at the beginning of the game and when the game is paused.

Tip   I have had an iOS game rejected by Apple for not having a pause menu, so I do recommend including one, if only for that reason.

In this chapter, we’ll implement both a scoreboard and start/pause menu with Unity’s built-in GUI system, known as UnityGUI (you can tell how long ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required