Time for action - add both scenes to the build list

There's just one last thing we need to do. Unity keeps a laundry list of scenes to bundle together when we run the game called the Build List. If we call a scene that is not on the Build List, Unity will throw an error and the game won't work. And we don't want that.

  1. Click on File | Build Settings...; the Build Settings panel appears.
  2. Click-and-drag the title and game scenes from the Scenes folder in the Project panel into the Build Settings panel, in the little window labeled Scenes to build.
  3. Close the Build Settings panel.
  4. Click File | Save to save the scene.
  5. Press the Play button to test the game.

Tip

Order! Order!

The order in which you add scenes to the Build List matters. Scenes appear ...

Get Unity 3D Game Development by Example 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.