Class TypeMapper | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class TypeMapper

    Inheritance
    System.Object
    TypeMapper
    Namespace: UnityEditor.Graphing.Util
    Syntax
    public class TypeMapper : IEnumerable<TypeMapping>

    Constructors

    TypeMapper(Type, Type, Type)

    Declaration
    public TypeMapper(Type fromBaseType = null, Type toBaseType = null, Type fallbackType = null)
    Parameters
    Type Name Description
    Type fromBaseType
    Type toBaseType
    Type fallbackType

    Methods

    Add(Type, Type)

    Declaration
    public void Add(Type fromType, Type toType)
    Parameters
    Type Name Description
    Type fromType
    Type toType

    Add(TypeMapping)

    Declaration
    public void Add(TypeMapping mapping)
    Parameters
    Type Name Description
    TypeMapping mapping

    GetEnumerator()

    Declaration
    public IEnumerator<TypeMapping> GetEnumerator()
    Returns
    Type Description
    IEnumerator<TypeMapping>

    MapType(Type)

    Declaration
    public Type MapType(Type fromType)
    Parameters
    Type Name Description
    Type fromType
    Returns
    Type Description
    Type
    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