This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
// Camera cage from camera to near plane in editor. | |
public class DrawCameraViewFrustrum : MonoBehaviour | |
{ | |
public Color clr = new Color(0.1f, 0.14f, 0.8f, 0.5f); | |
public void OnDrawGizmos() | |
{ | |
Gizmos.color= clr; |