docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NameUtility

    Inheritance
    object
    NameUtility
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.VisualScripting
    Assembly: Unity.VisualScripting.Core.Editor.dll
    Syntax
    public static class NameUtility

    Fields

    humanOperatorNames

    Declaration
    public static readonly Dictionary<string, string> humanOperatorNames
    Field Value
    Type Description
    Dictionary<string, string>

    Methods

    CSharpName(Namespace, bool)

    Declaration
    public static string CSharpName(this Namespace @namespace, bool full = true)
    Parameters
    Type Name Description
    Namespace namespace
    bool full
    Returns
    Type Description
    string

    DisplayName(Enum)

    Declaration
    public static string DisplayName(this Enum @enum)
    Parameters
    Type Name Description
    Enum enum
    Returns
    Type Description
    string

    DisplayName(Exception)

    Declaration
    public static string DisplayName(this Exception exception)
    Parameters
    Type Name Description
    Exception exception
    Returns
    Type Description
    string

    DisplayName(MemberInfo, ActionDirection, bool)

    Declaration
    public static string DisplayName(this MemberInfo member, ActionDirection direction = ActionDirection.Any, bool expectingBoolean = false)
    Parameters
    Type Name Description
    MemberInfo member
    ActionDirection direction
    bool expectingBoolean
    Returns
    Type Description
    string

    DisplayName(ParameterInfo)

    Declaration
    public static string DisplayName(this ParameterInfo parameter)
    Parameters
    Type Name Description
    ParameterInfo parameter
    Returns
    Type Description
    string

    DisplayName(Type, bool)

    Declaration
    public static string DisplayName(this Type type, bool includeGenericParameters = true)
    Parameters
    Type Name Description
    Type type
    bool includeGenericParameters
    Returns
    Type Description
    string

    DisplayName(Namespace, bool)

    Declaration
    public static string DisplayName(this Namespace @namespace, bool full = true)
    Parameters
    Type Name Description
    Namespace namespace
    bool full
    Returns
    Type Description
    string

    DisplayParameterString(MethodBase, Type)

    Declaration
    public static string DisplayParameterString(this MethodBase methodBase, Type targetType)
    Parameters
    Type Name Description
    MethodBase methodBase
    Type targetType
    Returns
    Type Description
    string

    HumanName(Enum)

    Declaration
    public static string HumanName(this Enum @enum)
    Parameters
    Type Name Description
    Enum enum
    Returns
    Type Description
    string

    HumanName(Exception)

    Declaration
    public static string HumanName(this Exception exception)
    Parameters
    Type Name Description
    Exception exception
    Returns
    Type Description
    string

    HumanName(MemberInfo, ActionDirection, bool)

    Declaration
    public static string HumanName(this MemberInfo member, ActionDirection direction = ActionDirection.Any, bool expectingBoolean = false)
    Parameters
    Type Name Description
    MemberInfo member
    ActionDirection direction
    bool expectingBoolean
    Returns
    Type Description
    string

    HumanName(ParameterInfo)

    Declaration
    public static string HumanName(this ParameterInfo parameter)
    Parameters
    Type Name Description
    ParameterInfo parameter
    Returns
    Type Description
    string

    HumanName(Type, bool)

    Declaration
    public static string HumanName(this Type type, bool includeGenericParameters = true)
    Parameters
    Type Name Description
    Type type
    bool includeGenericParameters
    Returns
    Type Description
    string

    HumanName(Namespace, bool)

    Declaration
    public static string HumanName(this Namespace @namespace, bool full = true)
    Parameters
    Type Name Description
    Namespace namespace
    bool full
    Returns
    Type Description
    string

    SelectedName(Enum, bool)

    Declaration
    public static string SelectedName(this Enum @enum, bool human)
    Parameters
    Type Name Description
    Enum enum
    bool human
    Returns
    Type Description
    string

    SelectedName(Exception, bool)

    Declaration
    public static string SelectedName(this Exception exception, bool human)
    Parameters
    Type Name Description
    Exception exception
    bool human
    Returns
    Type Description
    string

    SelectedName(MemberInfo, bool, ActionDirection, bool)

    Declaration
    public static string SelectedName(this MemberInfo member, bool human, ActionDirection direction = ActionDirection.Any, bool expectingBoolean = false)
    Parameters
    Type Name Description
    MemberInfo member
    bool human
    ActionDirection direction
    bool expectingBoolean
    Returns
    Type Description
    string

    SelectedName(ParameterInfo, bool)

    Declaration
    public static string SelectedName(this ParameterInfo parameter, bool human)
    Parameters
    Type Name Description
    ParameterInfo parameter
    bool human
    Returns
    Type Description
    string

    SelectedName(Type, bool, bool)

    Declaration
    public static string SelectedName(this Type type, bool human, bool includeGenericParameters = true)
    Parameters
    Type Name Description
    Type type
    bool human
    bool includeGenericParameters
    Returns
    Type Description
    string

    SelectedName(Namespace, bool, bool)

    Declaration
    public static string SelectedName(this Namespace @namespace, bool human, bool full = true)
    Parameters
    Type Name Description
    Namespace namespace
    bool human
    bool full
    Returns
    Type Description
    string

    SelectedParameterString(MethodBase, Type, bool)

    Declaration
    public static string SelectedParameterString(this MethodBase methodBase, Type targetType, bool human)
    Parameters
    Type Name Description
    MethodBase methodBase
    Type targetType
    bool human
    Returns
    Type Description
    string

    ToSummaryString(Exception)

    Declaration
    public static string ToSummaryString(this Exception ex)
    Parameters
    Type Name Description
    Exception ex
    Returns
    Type Description
    string
    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)