Class Machine<TGraph, TMacro>
Inheritance
Machine<TGraph, TMacro>
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
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
Properties
graph
Declaration
[DoNotSerialize]
public TGraph graph { get; }
Property Value
graphData
Declaration
[DoNotSerialize]
public IGraphData graphData { get; set; }
Property Value
Implements
hasGraph
Declaration
[DoNotSerialize]
protected bool hasGraph { get; }
Property Value
isDescriptionValid
Declaration
public bool isDescriptionValid { get; set; }
Property Value
nest
Declaration
[Serialize]
public GraphNest<TGraph, TMacro> nest { get; }
Property Value
reference
Declaration
[DoNotSerialize]
protected GraphReference reference { get; }
Property Value
Methods
Awake()
Declaration
protected virtual void Awake()
DefaultGraph()
Declaration
public abstract TGraph DefaultGraph()
Returns
GetReference()
Declaration
public GraphPointer GetReference()
Returns
Implements
InstantiateNest()
Declaration
public virtual void InstantiateNest()
Implements
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
TriggerUnityEvent(String)
Declaration
public virtual void TriggerUnityEvent(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
UninstantiateNest()
Declaration
public virtual void UninstantiateNest()
Implements
Explicit Interface Implementations
IAotStubbable.aotStubs
Declaration
[DoNotSerialize]
IEnumerable<object> IAotStubbable.aotStubs { get; }
Returns
Implements
IGraphNester.nest
Declaration
[DoNotSerialize]
IGraphNest IGraphNester.nest { get; }
Returns
Implements
IGraphParent.childGraph
Declaration
[DoNotSerialize]
IGraph IGraphParent.childGraph { get; }
Returns
Implements
IGraphParent.DefaultGraph()
Declaration
IGraph IGraphParent.DefaultGraph()
Returns
Implements
IGraphParent.isSerializationRoot
Declaration
[DoNotSerialize]
bool IGraphParent.isSerializationRoot { get; }
Returns
Implements
IGraphParent.serializedObject
Declaration
[DoNotSerialize]
Object IGraphParent.serializedObject { get; }
Returns
Implements
IMachine.threadSafeGameObject
Declaration
[DoNotSerialize]
GameObject IMachine.threadSafeGameObject { get; }
Returns
Implements
Extension Methods