Skip to content

Instantly share code, notes, and snippets.

View Flassari's full-sized avatar

Ari Arnbjörnsson Flassari

View GitHub Profile
0417556d3529810601cece432f030c37741af0020a44678f5d2d106dd0c431e6a208076d259e644c87fb695c6abf18cb27f8a2e73c107ec719c3843fc7bc63795e
Shader "Name" {
Properties {
name ("display name", Range (min, max)) = number
name ("display name", Float) = number
name ("display name", Int) = number
name ("display name", Color) = (number,number,number,number)
name ("display name", Vector) = (number,number,number,number)
using UnityEngine;
public class DebugDrawGameObjectMesh : MonoBehaviour
{
[Header("Configuration")]
[Space]
public bool drawWireMesh = true;
public Color wireColor = new Color(0, 0, 0, .8f);