docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class fsTypeExtensions

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

    Methods

    CSharpName(Type)

    Returns a pretty name for the type in the style of one that you'd see in C# without the namespace.

    Declaration
    public static string CSharpName(this Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    string

    CSharpName(Type, bool)

    Returns a pretty name for the type in the style of one that you'd see in C#.

    Declaration
    public static string CSharpName(this Type type, bool includeNamespace)
    Parameters
    Type Name Description
    Type type
    bool includeNamespace

    Should the name include namespaces?

    Returns
    Type Description
    string

    CSharpName(Type, bool, bool)

    Declaration
    public static string CSharpName(this Type type, bool includeNamespace, bool ensureSafeDeclarationName)
    Parameters
    Type Name Description
    Type type
    bool includeNamespace
    bool ensureSafeDeclarationName
    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)