Class Macro<TGraph>
Inheritance
Macro<TGraph>
Implements
Inherited Members
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Core.dll
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 |
|---|---|
| bool |
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> |
GetReference()
Declaration
public GraphPointer GetReference()
Returns
| Type | Description |
|---|---|
| GraphPointer |
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()