No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

EnumInfo.cs 243B

1234567891011121314
  1. using System;
  2. namespace UnityEditor.ShaderGraph
  3. {
  4. static class EnumInfo<T> where T : Enum
  5. {
  6. public static T[] values;
  7. static EnumInfo()
  8. {
  9. values = (T[])Enum.GetValues(typeof(T));
  10. }
  11. }
  12. }