Camera的Project分为两种:Perspective(透视) 和 Orthographic(正交)
Perspective的效果有远小近大之分,更接近人眼的真实效果,广泛用于3D游戏的开发;可以通过参数Field of view 来控制视野范围
Orthographic没有透视效果,适合用于做UI,或者做2D游戏的开发
参数size用来控制摄像机的视口大小,原文解释如下:
That magic number is the number of units from the center half of the screen to the top, or bottom.
比如size设为1,则游戏窗口的高度为2个units