Class Machine<TGraph, TMacro>
Inheritance
Machine<TGraph, TMacro>
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
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
GetAotStubs(HashSet<Object>)
Declaration
public IEnumerable<object> GetAotStubs(HashSet<object> visited)
Parameters
Returns
Implements
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()
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
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