- Home /
How can i add a second camera that will be showing only specific gameobject in game window ?
I mean when running the game the main camera will show the player and the whole game view and the second Camera will display in a small window on the right bottom a gameobject only.
I want that the Camera child of the Cube will show the Cube all the time in a small window on the right bottom corner of the Game View. So when i'm running the game the Camera will keep showing the Cube. Now when i'm running the game i see only the Main Camera(The main camera is child of one of the thirdpersoncontrollers).
Answer by UnityCoach · Apr 05, 2017 at 02:34 PM
This is what Camera Culling Masks are for. Simply put the Cube on a separate layer, set your main camera to display everything but this layer, and the other camera to display only this layer.
Your answer
Follow this Question
Related Questions
How can I instantiate a prefab/s in all loaded scenes or in selected scenes from list ? 1 Answer
Distribute terrain in zones 3 Answers
When the mouse is moving and the player is walking why the player is stuttering ? 0 Answers
How can i switch the text of a GUILayout.Toggle depending if false or true ? 1 Answer
Why when using LookAt to make the turret facing the target it's facing the other direction ? 1 Answer