Version: 5.5
public float depth ;

説明

カメラのレンダリング順序という意味のカメラ深度。

低い depth のカメラは高い depth のカメラよりも前に描画されます。

これは、シーン内に複数のカメラがあり、それらのいくつかが画面全体をカバーしていない場合、カメラが描画される順番を管理するために使用します。

See Also: camera component, Camera.rect

// Set this camera to render after the main camera

camera.depth = Camera.main.depth + 1;