Files
stas-barecky/Library/PackageCache/com.unity.shadergraph@3cfe1d1f3f8c/Editor/Utilities/EnumInfo.cs
2026-01-08 20:43:08 +05:00

15 lines
243 B
C#

using System;
namespace UnityEditor.ShaderGraph
{
static class EnumInfo<T> where T : Enum
{
public static T[] values;
static EnumInfo()
{
values = (T[])Enum.GetValues(typeof(T));
}
}
}