Creating a main menu: part 1 – adding text

Games don't just launch straight into the gameplay. Generally they start off with some kind of Title Screen with the game's name and the option for you to play or quit. This will be a good way to get some familiarity with how the new Unity GUI system (as of Unity 4.6) works with some simple UI elements. To start off, let's add some descriptive text that will display our game's name.

  1. To start off we will need to create a new level for our main menu to exist in, so to do that go to File | New Scene.
  2. Now we could add objects into this level, but for our purposes let's make it blank. From the Hierarchy tab, select the Main Camera object, under Clear Flags select Solid Color, and then under Background change ...

Get Building an FPS Game with Unity 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.