Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Editor/Utilities/EnumInfo.cs

15 lines
243 B
C#
Raw Permalink Normal View History

2024-05-06 14:45:45 -04: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));
}
}
}