clipping planes unity code example
Example: how to move clipping planes C# in unity
// creating by instantiating prefab :
GameObject cameraObject = (GameObject)Instantiate( myCameraPrefab );
Camera myCamera = cameraObject.GetComponent< Camera >();
// creating by adding component :
Camera myCamera = gameObject.AddComponent< Camera >();
// now you have a reference pointer to the camera, modify properties :
myCamera.nearClipPlane = 0.05f;
myCamera.farClipPlane = 100f;