docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class EnumValues<T>

    Helper class for caching enum values.

    Inheritance
    object
    EnumValues<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.XR.CoreUtils
    Assembly: Unity.XR.CoreUtils.dll
    Syntax
    public static class EnumValues<T>
    Type Parameters
    Name Description
    T

    The enum type whose values should be cached.

    Fields

    Values

    Cached result of Enum.GetValues.

    Declaration
    public static readonly T[] Values
    Field Value
    Type Description
    T[]
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)