mathe/Library/PackageCache/com.unity.shadergraph@14.0.8/Editor/Utilities/EnumInfo.cs
2024-09-20 20:30:10 +02: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));
}
}
}