O'Reilly logo

Unity 3D Game Development by Example by Ryan Henson Creighton

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

Time for action - adjust the Main Camera

As before, we'll nudge a few settings on the Main Camera in order to composite the two views together.

  1. In the Hierarchy panel, select the Main Camera.
  2. In the Inspector panel, adjust the following settings:
    • Clear Flags: Depth only
    • Depth: 1
    • Culling Mask uncheck hallway (it now says Mixed...)
Time for action - adjust the Main Camera

The two cameras' views are now layered together in the Game view. That's a good start!

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