No right answer

The more you explore Unity, the more you'll discover that there are many possible ways to do one thing. Often, there's no right way to do something, it all depends on what you're building and how you want it to look. There can, however, be better ways to do things: as we saw earlier, programmers call these preferred methods "best practices".

You can build a title screen for your game in a number of different ways. If you have a 3D world, maybe you want the camera to fly around the world as a piece of 2D title work fades up over it? Maybe the title work should be in 3D, and you start the game by moving a controllable character through a doorway? For this introduction to Unity GUI controls, we'll take a flat 2D graphic of our game ...

Get Unity 4.x Game Development by Example Beginner's Guide 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.