Using more than one camera 多个相机
本文档主要是对Unity官方手册的个人理解与总结(其实以翻译记录为主:>)
仅作为个人学习使用,不得作为商业用途,欢迎转载,并请注明出处。
文章中涉及到的操作都是基于Unity2018.2版本
参考链接:https://docs.unity3d.com/Manual/MultipleCameras.html
When created, a Unity scene contains just a single camera and this is all you need for most situations. However, you can have as many cameras in a scene as you like and their views can be combined in different ways, as described below.
当创建一个Unity场景时,它只包含一个摄像头,这是大多数情况下你所需要的。但是,您可以在场景中拥有任意数量的相机,并且它们的视图可以以不同的方式组合在一起,如下所述。
Switching cameras
By default, a camera renders its view to cover the whole screen and so only one camera view can be seen at a time (the visible camera is the one that has the highest value for its depth