1
1
Ответвление 0
InsAsterix/InsAsterix/Library/PackageCache/com.unity.shadergraph@12.1.9/Editor/Utilities/EnumInfo.cs
2023-03-02 20:21:33 +01:00

14 строки
243 Б
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));
}
}
}