Skip to content

Instantly share code, notes, and snippets.

@tronster
tronster / DrawCameraViewFrustrum.cs
Created March 18, 2015 12:23
Unity3d Camera cage from camera to near plane in editor.
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;