
Unity 4.x Game Development by Example: Beginner's Guide
By :

In order to pull off this foreground/background effect, we'll need two cameras. Let's create the second camera and set it up to look at the hallway.
In the menu, navigate to GameObject | Create Other | Camera.
Rename the new camera hallwayCam
.
Change the Transform settings of hallwayCam
to:
Position: X:
6.5
, Y:
1.2
, Z:
-31.5
Set the Scene view to Top, and you'll see that the hallwayCam
is now positioned at one corner of the hallway model.
Select the hallwayCam
in the Hierarchy panel.
In the Inspector panel, adjust the following settings:
Clear Flags: Solid Color
Culling Mask: nothing (This deselects everything in the culling mask list.)
Culling Mask: hallway (This selects only the hallway
layer, which contains our hallway model.)
Depth: -1
Flare Layer: unchecked/removed
Audio Listener: unchecked
No surprises here—these are the very same settings we used for the background camera in Shoot the Moon.
Change the font size
Change margin width
Change background colour