Class Machine<TGraph, TMacro>
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Core.dll
Syntax
public abstract class Machine<TGraph, TMacro> : LudiqBehaviour, ISerializationCallbackReceiver, IMachine, IGraphRoot, IGraphNester, IGraphParent, IAotStubbable where TGraph : class, IGraph, new() where TMacro : Macro<TGraph>
Type Parameters
Name | Description |
---|---|
TGraph | |
TMacro |
Constructors
Machine()
Declaration
protected Machine()
Properties
graph
Declaration
[DoNotSerialize]
public TGraph graph { get; }
Property Value
Type | Description |
---|---|
TGraph |
graphData
Declaration
[DoNotSerialize]
public IGraphData graphData { get; set; }
Property Value
Type | Description |
---|---|
IGraph |
hasGraph
Declaration
[DoNotSerialize]
protected bool hasGraph { get; }
Property Value
Type | Description |
---|---|
bool |
isDescriptionValid
Declaration
public bool isDescriptionValid { get; set; }
Property Value
Type | Description |
---|---|
bool |
nest
Declaration
[Serialize]
public GraphNest<TGraph, TMacro> nest { get; }
Property Value
Type | Description |
---|---|
Graph |
reference
Declaration
[DoNotSerialize]
protected GraphReference reference { get; }
Property Value
Type | Description |
---|---|
Graph |
Methods
Awake()
Declaration
protected virtual void Awake()
DefaultGraph()
Declaration
public abstract TGraph DefaultGraph()
Returns
Type | Description |
---|---|
TGraph |
GetAotStubs(HashSet<object>)
Declaration
public IEnumerable<object> GetAotStubs(HashSet<object> visited)
Parameters
Returns
Type | Description |
---|---|
IEnumerable<object> |
GetReference()
Declaration
public GraphPointer GetReference()
Returns
Type | Description |
---|---|
Graph |
InstantiateNest()
Declaration
public virtual void InstantiateNest()
OnDestroy()
Declaration
protected virtual void OnDestroy()
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
OnInstantiateWhileEnabled()
Declaration
protected virtual void OnInstantiateWhileEnabled()
OnUninstantiateWhileEnabled()
Declaration
protected virtual void OnUninstantiateWhileEnabled()
OnValidate()
Declaration
protected virtual void OnValidate()
TriggerAnimationEvent(AnimationEvent)
Declaration
public virtual void TriggerAnimationEvent(AnimationEvent animationEvent)
Parameters
Type | Name | Description |
---|---|---|
Animation |
animationEvent |
TriggerUnityEvent(string)
Declaration
public virtual void TriggerUnityEvent(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
UninstantiateNest()
Declaration
public virtual void UninstantiateNest()