Should rendering be done in wireframe?
// Attach this script to a camera, this will make it render in wireframe
function OnPreRender() {
GL.wireframe = true;
}
function OnPostRender() {
GL.wireframe = false;
}
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void OnPreRender() { GL.wireframe = true; } void OnPostRender() { GL.wireframe = false; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def OnPreRender() as void: GL.wireframe = true def OnPostRender() as void: GL.wireframe = false