docs.unity.cn
    Show / Hide Table of Contents

    Class NodeSystemGraph

    Class NodeSystemGraph. Implements the NodeRuntime

    Inheritance
    Object
    Object
    ScriptableObject
    NodeRuntime
    NodeSystemGraph
    Inherited Members
    NodeRuntime._parent
    NodeRuntime._portList
    NodeRuntime._queryPath
    NodeRuntime.QueryPath
    NodeRuntime._tickCPUTimeNs
    NodeRuntime.TickCPUTimeNs
    NodeRuntime.PortDataList
    NodeRuntime.Initialize(SystemGraphComponent)
    NodeRuntime.Start()
    NodeRuntime.Enable(Scheduler.ClockState)
    NodeRuntime.OnTick(Double, Double, Scheduler.ClockState, Scheduler.Signal)
    NodeRuntime.Update()
    NodeRuntime.FixedUpdate()
    NodeRuntime.OnPortAdded(String, Type, String, PortDirection, FieldExtra, IPortType)
    NodeRuntime.OnPortRemoved(String)
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    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
    NodeRuntime.Disable()

    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
    NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)

    InternalInitialize()

    The implementation of this virtual function shall handle special initialization code to handle when the graph is initialized.

    Declaration
    public override void InternalInitialize()
    Overrides
    NodeRuntime.InternalInitialize()

    See Also

    NodeRuntime
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 18, 2022
    Terms of use