using System; namespace Unity.XR.CoreUtils { /// /// Helper class for caching enum values. /// /// The enum type whose values should be cached. public static class EnumValues { /// /// Cached result of Enum.GetValues. /// public static readonly T[] Values = (T[])Enum.GetValues(typeof(T)); } }