O'Reilly logo

Unity Game Development Blueprints by John P. Doran

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

Creating and placing props

Now, it's great that we have a layout, but just a floor plan would get really boring really quickly in a first-person game. Luckily, we have a number of props that we can use to spice up the level a bit and add additional detail to our world. Perform the following steps:

  1. First, let's move our Level 1 object out of the way for now by making it a prefab and then deleting it from the Hierarchy tab.
  2. Next, go to the Props folder, and select all of your models. Under the Model tab, check the Generate Colliders option, and click on Apply.

    This will create collisions for all the objects that we want to use. We didn't choose to generate colliders for the modular pieces, because we will generate them from scratch for our rooms.

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