docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UnitConnection<TSourcePort, TDestinationPort>

    Inheritance
    object
    GraphElement<FlowGraph>
    UnitConnection<TSourcePort, TDestinationPort>
    ControlConnection
    InvalidConnection
    ValueConnection
    Implements
    IGraphElement
    IGraphItem
    INotifiedCollectionItem
    IDisposable
    IPrewarmable
    IAotStubbable
    IIdentifiable
    IAnalyticsIdentifiable
    IConnection<TSourcePort, TDestinationPort>
    Inherited Members
    GraphElement<FlowGraph>.guid
    GraphElement<FlowGraph>.Instantiate(GraphReference)
    GraphElement<FlowGraph>.Uninstantiate(GraphReference)
    GraphElement<FlowGraph>.BeforeAdd()
    GraphElement<FlowGraph>.AfterAdd()
    GraphElement<FlowGraph>.BeforeRemove()
    GraphElement<FlowGraph>.AfterRemove()
    GraphElement<FlowGraph>.Dispose()
    GraphElement<FlowGraph>.InstantiateNest()
    GraphElement<FlowGraph>.UninstantiateNest()
    GraphElement<FlowGraph>.graph
    GraphElement<FlowGraph>.deserializationDependencies
    GraphElement<FlowGraph>.GetAotStubs(HashSet<object>)
    GraphElement<FlowGraph>.Prewarm()
    GraphElement<FlowGraph>.CopyFrom(GraphElement<FlowGraph>)
    GraphElement<FlowGraph>.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.VisualScripting
    Assembly: Unity.VisualScripting.Flow.dll
    Syntax
    public abstract class UnitConnection<TSourcePort, TDestinationPort> : GraphElement<FlowGraph>, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, IConnection<TSourcePort, TDestinationPort> where TSourcePort : class, IUnitOutputPort where TDestinationPort : class, IUnitInputPort
    Type Parameters
    Name Description
    TSourcePort
    TDestinationPort

    Constructors

    UnitConnection()

    Declaration
    [Obsolete("This parameterless constructor is only made public for serialization. Use another constructor instead.")]
    protected UnitConnection()

    UnitConnection(TSourcePort, TDestinationPort)

    Declaration
    protected UnitConnection(TSourcePort source, TDestinationPort destination)
    Parameters
    Type Name Description
    TSourcePort source
    TDestinationPort destination

    Properties

    dependencyOrder

    Declaration
    public override int dependencyOrder { get; }
    Property Value
    Type Description
    int
    Overrides
    GraphElement<FlowGraph>.dependencyOrder

    destination

    Declaration
    [DoNotSerialize]
    public abstract TDestinationPort destination { get; }
    Property Value
    Type Description
    TDestinationPort

    destinationExists

    Declaration
    public abstract bool destinationExists { get; }
    Property Value
    Type Description
    bool

    destinationKey

    Declaration
    [Serialize]
    protected string destinationKey { get; }
    Property Value
    Type Description
    string

    destinationUnit

    Declaration
    [Serialize]
    protected IUnit destinationUnit { get; }
    Property Value
    Type Description
    IUnit

    source

    Declaration
    [DoNotSerialize]
    public abstract TSourcePort source { get; }
    Property Value
    Type Description
    TSourcePort

    sourceExists

    Declaration
    public abstract bool sourceExists { get; }
    Property Value
    Type Description
    bool

    sourceKey

    Declaration
    [Serialize]
    protected string sourceKey { get; }
    Property Value
    Type Description
    string

    sourceUnit

    Declaration
    [Serialize]
    protected IUnit sourceUnit { get; }
    Property Value
    Type Description
    IUnit

    Methods

    CopyFrom(UnitConnection<TSourcePort, TDestinationPort>)

    Declaration
    protected void CopyFrom(UnitConnection<TSourcePort, TDestinationPort> source)
    Parameters
    Type Name Description
    UnitConnection<TSourcePort, TDestinationPort> source

    CreateDebugData()

    Declaration
    public virtual IGraphElementDebugData CreateDebugData()
    Returns
    Type Description
    IGraphElementDebugData

    GetAnalyticsIdentifier()

    Declaration
    public override AnalyticsIdentifier GetAnalyticsIdentifier()
    Returns
    Type Description
    AnalyticsIdentifier
    Overrides
    GraphElement<FlowGraph>.GetAnalyticsIdentifier()

    HandleDependencies()

    Declaration
    public override bool HandleDependencies()
    Returns
    Type Description
    bool
    Overrides
    GraphElement<FlowGraph>.HandleDependencies()

    Implements

    IGraphElement
    IGraphItem
    INotifiedCollectionItem
    IDisposable
    IPrewarmable
    IAotStubbable
    IIdentifiable
    IAnalyticsIdentifiable
    IConnection<TSource, TDestination>

    Extension Methods

    Cloning.Clone(object, ICloner, bool)
    Cloning.Clone(object, ICloner, bool)
    Cloning.CloneViaFakeSerialization(object)
    Cloning.CloneViaFakeSerialization(object)
    ConversionUtility.ConvertTo(object, Type)
    ConversionUtility.ConvertTo(object, Type)
    ConversionUtility.ConvertTo<T>(object)
    ConversionUtility.ConvertTo<T>(object)
    ConversionUtility.IsConvertibleTo(object, Type, bool)
    ConversionUtility.IsConvertibleTo(object, Type, bool)
    ConversionUtility.IsConvertibleTo<T>(object, bool)
    ConversionUtility.IsConvertibleTo<T>(object, bool)
    Serialization.Serialize(object, bool)
    Serialization.Serialize(object, bool)
    TypeUtility.ToShortString(object, int)
    TypeUtility.ToShortString(object, int)
    UnityObjectUtility.IsUnityNull(object)
    UnityObjectUtility.IsUnityNull(object)
    UnityObjectUtility.ToSafeString(object)
    UnityObjectUtility.ToSafeString(object)
    XAnalyserProvider.Analyser(object, GraphReference)
    XAnalyserProvider.Analyser(object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(object, IGraphContext)
    XAnalyserProvider.Analysis(object, GraphReference)
    XAnalyserProvider.Analysis(object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(object, IGraphContext)
    XDescriptorProvider.Describe(object)
    XDescriptorProvider.Description(object)
    XDescriptorProvider.Description<TDescription>(object)
    XDescriptorProvider.Descriptor(object)
    XDescriptorProvider.Descriptor<TDescriptor>(object)
    XDescriptorProvider.HasDescriptor(object)
    Cloning.CloneViaFakeSerialization<T>(T)
    Cloning.CloneViaFakeSerialization<T>(T)
    Cloning.Clone<T>(T, ICloner, bool)
    Cloning.Clone<T>(T, ICloner, bool)
    LinqUtility.Yield<T>(T)
    LinqUtility.Yield<T>(T)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, bool)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, bool)
    Serialization.CloneViaSerialization<T>(T, bool)
    Serialization.CloneViaSerialization<T>(T, bool)
    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)