Skip to content

Instantly share code, notes, and snippets.

@mattdevv
mattdevv / EnumArray.cs
Last active February 17, 2026 05:24 — forked from a-gruzdev/EnumArray.cs
Fixed inspector rendering: wasn't expanding height
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
[Serializable]
Shader "Hidden/JumpFloodOutline"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
}
SubShader
{
Tags { "PreviewType" = "Plane" }
Cull Off ZWrite Off ZTest Always