Class NesterUnit<TGraph, TMacro>
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
Syntax
public abstract class NesterUnit<TGraph, TMacro> : Unit, INesterUnit, IUnit, IGraphElementWithDebugData, IGraphNesterElement, IGraphParentElement, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, IGraphNester, IGraphParent where TGraph : class, IGraph, new() where TMacro : Macro<TGraph>
Type Parameters
Name | Description |
---|---|
TGraph | |
TMacro |
Constructors
NesterUnit()
Declaration
protected NesterUnit()
NesterUnit(TMacro)
Declaration
protected NesterUnit(TMacro macro)
Parameters
Type | Name | Description |
---|---|---|
TMacro | macro |
Properties
canDefine
Gets a value indicating whether this unit can be defined.
Declaration
public override bool canDefine { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
deserializationDependencies
Declaration
[DoNotSerialize]
public override IEnumerable<ISerializationDependency> deserializationDependencies { get; }
Property Value
Type | Description |
---|---|
IEnumerable<ISerializationDependency> |
Overrides
nest
Declaration
[Serialize]
public GraphNest<TGraph, TMacro> nest { get; }
Property Value
Type | Description |
---|---|
GraphNest<TGraph, TMacro> |
Methods
CopyFrom(NesterUnit<TGraph, TMacro>)
Declaration
protected void CopyFrom(NesterUnit<TGraph, TMacro> source)
Parameters
Type | Name | Description |
---|---|---|
NesterUnit<TGraph, TMacro> | source |
DefaultGraph()
Declaration
public abstract TGraph DefaultGraph()
Returns
Type | Description |
---|---|
TGraph |
GetAotStubs(HashSet<object>)
Declaration
public override IEnumerable<object> GetAotStubs(HashSet<object> visited)
Parameters
Type | Name | Description |
---|---|---|
HashSet<object> | visited |
Returns
Type | Description |
---|---|
IEnumerable<object> |