mathe/Library/PackageCache/com.unity.shadergraph@14.0.8/Editor/Utilities/EnumInfo.cs

15 lines
243 B
C#
Raw Normal View History

2024-09-20 20:30:10 +02:00
using System;
namespace UnityEditor.ShaderGraph
{
static class EnumInfo<T> where T : Enum
{
public static T[] values;
static EnumInfo()
{
values = (T[])Enum.GetValues(typeof(T));
}
}
}