Class NodeSystemGraph
Class NodeSystemGraph. Implements the NodeRuntime
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Mechatronics.SystemGraph
Syntax
[NodeCategory("Type", "SystemGraph", NodeTick.Synchronous, (LifeCycle)0, 0F, NodeMode.Standard, false, NodeTick = NodeTick.Asynchronous, Mode = NodeMode.Standard)]
public class NodeSystemGraph : NodeRuntime
Fields
boundSystemGraphComponent
The bound system graph component
Declaration
[Binding("SystemGraphComponent Instance")]
[SerializeField]
public Binding<SystemGraphComponent> boundSystemGraphComponent
Field Value
| Type | Description |
|---|---|
| Binding<SystemGraphComponent> |
creationMode
The creation mode
Declaration
[Field("Creation Mode", PortDirection.Left, FieldExtra.Read | FieldExtra.HideConnector)]
[SerializeField]
public PortTypeEnum creationMode
Field Value
| Type | Description |
|---|---|
| PortTypeEnum |
graphAsset
The graph asset
Declaration
[Field("SystemGraph", PortDirection.Left, FieldExtra.Read | FieldExtra.HideConnector)]
[SerializeField]
public PortTypeSystemGraphAsset graphAsset
Field Value
| Type | Description |
|---|---|
| PortTypeSystemGraphAsset |
Properties
GraphComponent
Gets the graph component.
Declaration
public SystemGraphComponent GraphComponent { get; }
Property Value
| Type | Description |
|---|---|
| SystemGraphComponent | The graph component. |
Methods
Disable()
Disable handler, removes the graph component when create new instance was used
Declaration
public override void Disable()
Overrides
InitializeDynamicPorts(SystemGraphComponent)
Called at start of runtime execution to load ports from PortList. Override for custom behaviour on load.
Declaration
public override bool InitializeDynamicPorts(SystemGraphComponent parent)
Parameters
| Type | Name | Description |
|---|---|---|
| SystemGraphComponent | parent | The parent. |
Returns
| Type | Description |
|---|---|
| Boolean | Returns true if the ports are succesfully loaded |
Overrides
InternalInitialize()
The implementation of this virtual function shall handle special initialization code to handle when the graph is initialized.
Declaration
public override void InternalInitialize()