Class Macro<TGraph>
Inheritance
Inherited Members
Namespace: Unity.VisualScripting
Syntax
public abstract class Macro<TGraph> : MacroScriptableObject, IMacro, IGraphRoot, IGraphParent, ISerializationDependency, ISerializationCallbackReceiver, IAotStubbable where TGraph : class, IGraph, new()
Type Parameters
Name | Description |
---|---|
TGraph |
Properties
graph
Declaration
[DoNotSerialize]
public TGraph graph { get; set; }
Property Value
Type | Description |
---|---|
TGraph |
isDescriptionValid
Declaration
public bool isDescriptionValid { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
reference
Declaration
[DoNotSerialize]
protected GraphReference reference { get; }
Property Value
Type | Description |
---|---|
GraphReference |
Methods
DefaultGraph()
Declaration
public abstract TGraph DefaultGraph()
Returns
Type | Description |
---|---|
TGraph |
GetAotStubs(HashSet<Object>)
Declaration
public IEnumerable<object> GetAotStubs(HashSet<object> visited)
Parameters
Type | Name | Description |
---|---|---|
HashSet<Object> | visited |
Returns
Type | Description |
---|---|
IEnumerable<Object> |
Implements
GetReference()
Declaration
public GraphPointer GetReference()
Returns
Type | Description |
---|---|
GraphPointer |
Implements
OnAfterDeserialize()
Declaration
protected override void OnAfterDeserialize()
Overrides
OnBeforeDeserialize()
Declaration
protected override void OnBeforeDeserialize()
Overrides
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
Explicit Interface Implementations
IGraphParent.childGraph
Declaration
[DoNotSerialize]
IGraph IGraphParent.childGraph { get; }
Returns
Type | Description |
---|---|
IGraph |
Implements
IGraphParent.DefaultGraph()
Declaration
IGraph IGraphParent.DefaultGraph()
Returns
Type | Description |
---|---|
IGraph |
Implements
IGraphParent.isSerializationRoot
Declaration
[DoNotSerialize]
bool IGraphParent.isSerializationRoot { get; }
Returns
Type | Description |
---|---|
Boolean |
Implements
IGraphParent.serializedObject
Declaration
[DoNotSerialize]
Object IGraphParent.serializedObject { get; }
Returns
Type | Description |
---|---|
Object |
Implements
IMacro.graph
Declaration
[DoNotSerialize]
IGraph IMacro.graph { get; set; }
Returns
Type | Description |
---|---|
IGraph |