- Home /
How to show four views of cameras on one screen?
Hello, dose everyone know How to show four views of cameras on one screen?
Answer by aldonaletto · Jan 09, 2012 at 02:44 PM
You can define the portion of the screen where a camera appears setting the Normalized View Port Rect field in the Inspector, or camera.rect in the script. If you set the view port XYWH fields of the cameras to [0,0,0.5,0.5], [0.5,0,0.5,0.5], [0,0.5,0.5,0.5], [0.5,0.5,0.5,0.5], for instance, each one will display it's image in a quarter of the screen. If the viewport of a camera overlaps other camera's viewport, the field Depth (in the Inspector) is used to decide which one is on top of the other.
This gives an error: There are 4 audio listeners the scene
Come on, the error message tells you exactly what the problem is, just correct it!
Of course you can only have one audio source, so you either straight-out delete the listeners on three of your cameras, or delete all of them and have an audio listener on another gameobject altogether, or keep all four but disable them, and only enable one one if it'S camera is currently being used as a character or whatever.
Your answer
![](https://koobas.hobune.stream/wayback/20220613062816im_/https://answers.unity.com/themes/thub/images/avi.jpg)