How to perform per-layer culling for a Camera.
// Enable spherical layer culling camera.layerCullSpherical = true;
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { camera.layerCullSpherical = true; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: camera.layerCullSpherical = true