docs.unity3d.com
    Show / Hide Table of Contents

    Class GraphElement<TGraph>

    Inheritance
    Object
    GraphElement<TGraph>
    GraphGroup
    State
    StateTransition
    StickyNote
    Unit
    UnitConnection<TSourcePort, TDestinationPort>
    Namespace: Unity.VisualScripting
    Syntax
    public abstract class GraphElement<TGraph> : IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable where TGraph : class, IGraph
    Type Parameters
    Name Description
    TGraph

    Properties

    dependencyOrder

    Declaration
    [DoNotSerialize]
    public virtual int dependencyOrder { get; }
    Property Value
    Type Description
    Int32
    Implements
    IGraphElement.dependencyOrder

    deserializationDependencies

    Declaration
    public virtual IEnumerable<ISerializationDependency> deserializationDependencies { get; }
    Property Value
    Type Description
    IEnumerable<ISerializationDependency>
    Implements
    IGraphElement.deserializationDependencies

    graph

    Declaration
    [DoNotSerialize]
    public TGraph graph { get; set; }
    Property Value
    Type Description
    TGraph

    guid

    Declaration
    [Serialize]
    public Guid guid { get; set; }
    Property Value
    Type Description
    Guid
    Implements
    IGraphElement.guid
    IIdentifiable.guid

    Methods

    AfterAdd()

    Declaration
    public virtual void AfterAdd()
    Implements
    INotifiedCollectionItem.AfterAdd()

    AfterRemove()

    Declaration
    public virtual void AfterRemove()
    Implements
    INotifiedCollectionItem.AfterRemove()

    BeforeAdd()

    Declaration
    public virtual void BeforeAdd()
    Implements
    INotifiedCollectionItem.BeforeAdd()

    BeforeRemove()

    Declaration
    public virtual void BeforeRemove()
    Implements
    INotifiedCollectionItem.BeforeRemove()

    CopyFrom(GraphElement<TGraph>)

    Declaration
    protected void CopyFrom(GraphElement<TGraph> source)
    Parameters
    Type Name Description
    GraphElement<TGraph> source

    Dispose()

    Declaration
    public virtual void Dispose()

    GetAnalyticsIdentifier()

    Declaration
    public virtual AnalyticsIdentifier GetAnalyticsIdentifier()
    Returns
    Type Description
    AnalyticsIdentifier
    Implements
    IAnalyticsIdentifiable.GetAnalyticsIdentifier()

    GetAotStubs(HashSet<Object>)

    Declaration
    public virtual IEnumerable<object> GetAotStubs(HashSet<object> visited)
    Parameters
    Type Name Description
    HashSet<Object> visited
    Returns
    Type Description
    IEnumerable<Object>
    Implements
    IAotStubbable.GetAotStubs(HashSet<Object>)

    HandleDependencies()

    Declaration
    public virtual bool HandleDependencies()
    Returns
    Type Description
    Boolean
    Implements
    IGraphElement.HandleDependencies()

    Instantiate(GraphReference)

    Declaration
    public virtual void Instantiate(GraphReference instance)
    Parameters
    Type Name Description
    GraphReference instance
    Implements
    IGraphElement.Instantiate(GraphReference)

    InstantiateNest()

    Declaration
    protected void InstantiateNest()

    Prewarm()

    Declaration
    public virtual void Prewarm()
    Implements
    IPrewarmable.Prewarm()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Uninstantiate(GraphReference)

    Declaration
    public virtual void Uninstantiate(GraphReference instance)
    Parameters
    Type Name Description
    GraphReference instance
    Implements
    IGraphElement.Uninstantiate(GraphReference)

    UninstantiateNest()

    Declaration
    protected void UninstantiateNest()

    Explicit Interface Implementations

    IGraphElement.graph

    Declaration
    [DoNotSerialize]
    IGraph IGraphElement.graph { get; set; }
    Returns
    Type Description
    IGraph
    Implements
    IGraphElement.graph

    IGraphItem.graph

    Declaration
    [DoNotSerialize]
    IGraph IGraphItem.graph { get; }
    Returns
    Type Description
    IGraph
    Implements
    IGraphItem.graph

    Extension Methods

    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    In This Article
    • Properties
      • dependencyOrder
      • deserializationDependencies
      • graph
      • guid
    • Methods
      • AfterAdd()
      • AfterRemove()
      • BeforeAdd()
      • BeforeRemove()
      • CopyFrom(GraphElement<TGraph>)
      • Dispose()
      • GetAnalyticsIdentifier()
      • GetAotStubs(HashSet<Object>)
      • HandleDependencies()
      • Instantiate(GraphReference)
      • InstantiateNest()
      • Prewarm()
      • ToString()
      • Uninstantiate(GraphReference)
      • UninstantiateNest()
    • Explicit Interface Implementations
      • IGraphElement.graph
      • IGraphItem.graph
    • Extension Methods
    Back to top
    Terms of use
    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