docs.unity.cn
    Show / Hide Table of Contents

    Class NodeExpandable<T>

    Class NodeExpandable. Implements the NodeExpandable

    Inheritance
    Object
    Object
    ScriptableObject
    NodeRuntime
    NodeExpandable
    NodeExpandable<T>
    Inherited Members
    NodeExpandable._portMap
    NodeExpandable.PortMap
    NodeExpandable.PortList
    NodeExpandable.GetDynamicPort<T>(String)
    NodeExpandable.OnPortRemoved(String)
    NodeExpandable.UpdatePortMap()
    NodeExpandable.GetAllowedPortTypes()
    NodeRuntime._parent
    NodeRuntime._portList
    NodeRuntime._queryPath
    NodeRuntime.QueryPath
    NodeRuntime._tickCPUTimeNs
    NodeRuntime.TickCPUTimeNs
    NodeRuntime.PortDataList
    NodeRuntime.Initialize(SystemGraphComponent)
    NodeRuntime.InternalInitialize()
    NodeRuntime.Start()
    NodeRuntime.Enable(Scheduler.ClockState)
    NodeRuntime.Disable()
    NodeRuntime.OnTick(Double, Double, Scheduler.ClockState, Scheduler.Signal)
    NodeRuntime.Update()
    NodeRuntime.FixedUpdate()
    NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
    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
    [Obsolete("Please use non generic NodeExpandable instead")]
    [Serializable]
    public class NodeExpandable<T> : NodeExpandable where T : class
    Type Parameters
    Name Description
    T

    Methods

    GetDynamicPort(String)

    Gets the dynamic port.

    Declaration
    public T GetDynamicPort(string name)
    Parameters
    Type Name Description
    String name

    The name.

    Returns
    Type Description
    T

    T.

    OnPortAdded(String, Type, String, PortDirection, FieldExtra, ref IPortType)

    PortAddition event recieved from the editor during edit mode if ExpandablePorts attribute is set. By default this function will accept all ports.

    Declaration
    public override bool OnPortAdded(string entryName, Type portType, string tooltip, PortDirection direction, FieldExtra extra, ref IPortType portReference)
    Parameters
    Type Name Description
    String entryName

    The name of the new port

    Type portType

    Type of the port object

    String tooltip

    The tooltip.

    PortDirection direction

    The direction.

    FieldExtra extra

    The extra.

    IPortType portReference

    The port reference.

    Returns
    Type Description
    Boolean

    Returns true if the port is accepted

    Overrides
    NodeExpandable.OnPortAdded(String, Type, String, PortDirection, FieldExtra, ref IPortType)

    See Also

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