Time for action – adjust 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 Main Camera.
  2. In the Inspector panel, adjust the following settings:
    • Clear Flags: Depth only
    • Culling Mask—uncheck hallway (it now says Mixed...)
    • Depth: 1
    Time for action – adjust Main Camera

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

Get Unity 4.x Game Development by Example Beginner's Guide 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.