docs.unity3d.com
    Show / Hide Table of Contents

    Class EnumUtility

    Inheritance
    Object
    EnumUtility
    Namespace: Unity.VisualScripting
    Syntax
    public static class EnumUtility

    Methods

    HasFlag(Enum, Enum)

    Declaration
    public static bool HasFlag(this Enum value, Enum flag)
    Parameters
    Type Name Description
    Enum value
    Enum flag
    Returns
    Type Description
    Boolean

    ValuesByNames(Type, Boolean)

    Declaration
    public static Dictionary<string, Enum> ValuesByNames(Type enumType, bool obsolete = false)
    Parameters
    Type Name Description
    Type enumType
    Boolean obsolete
    Returns
    Type Description
    Dictionary<String, Enum>

    ValuesByNames<T>(Boolean)

    Declaration
    public static Dictionary<string, T> ValuesByNames<T>(bool obsolete = false)
    Parameters
    Type Name Description
    Boolean obsolete
    Returns
    Type Description
    Dictionary<String, T>
    Type Parameters
    Name Description
    T
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023