Cameras – Effects and Visuals

unity-game-scene

All of the cameras can be viewed in the scene. The GameplayCam is of special importance as it contains a script that determines how the camera inside of the office controls.

Office Controller Script:

gameplay-cameras

Speed: The rotation rate of the camera in degrees/second

Left/Right Threshold: The percentage of the screen on the left/right side that when the mouse enters it, causes the camera to look in that direction. This has no effect on Touch devices, as the rotation is controlled by a dragging motion.

Max Turn Angle: The angle in degrees that the camera is allowed to turn from center.