Moving to other levels

Finally, let's see what we can do to make the changes we've made in this chapter show up in all of our levels. We perform the following steps:

  1. We've been modifying a series of prefabs, so thankfully it's quite easy to update them for other levels. Select the FlashlightController object, and in the Prefab section, click on the Apply button to save our changes to the prefab.
  2. The Ghost object, however, is just a model, so let's open the Prefabs folder in our project browser and drag-and-drop the object in there.
  3. Move the Phone Flash object in as a prefab as well.
  4. Now that we have everything set up, let's open our interior level.
  5. Upon opening the level, you may notice that the other level already has the camera showing up if you ...

Get Unity Game Development Blueprints 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.