docs.unity.cn
    Show / Hide Table of Contents

    Class SystemGraphObject

    Class SystemGraphObject contains the SystemGraphData and internal data model caches. Implements the ScriptableObject

    Inheritance
    Object
    Object
    ScriptableObject
    SystemGraphObject
    Inherited Members
    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
    [Serializable]
    public class SystemGraphObject : ScriptableObject

    Fields

    MapEditorTitle

    The map of editor title for types.

    Declaration
    public static Dictionary<string, Type> MapEditorTitle
    Field Value
    Type Description
    Dictionary<String, Type>

    MapParamType

    The map of parameter types

    Declaration
    public static Dictionary<string, Type> MapParamType
    Field Value
    Type Description
    Dictionary<String, Type>

    Properties

    DataModel

    Gets the data model.

    Declaration
    public Dictionary<string, object> DataModel { get; }
    Property Value
    Type Description
    Dictionary<String, Object>

    The data model.

    GraphData

    Gets or sets the graph data.

    Declaration
    public SystemGraphData GraphData { get; set; }
    Property Value
    Type Description
    SystemGraphData

    The graph data.

    Methods

    FindNodeOrParamType(String, out Type)

    Finds the type of the node or parameter.

    Declaration
    public static bool FindNodeOrParamType(string key, out Type val)
    Parameters
    Type Name Description
    String key

    The key.

    Type val

    The value.

    Returns
    Type Description
    Boolean

    true if found node or parameter type, false otherwise.

    FindNodeType(String, out Type)

    Finds the type of the node.

    Declaration
    public static bool FindNodeType(string key, out Type val)
    Parameters
    Type Name Description
    String key

    The key.

    Type val

    The value.

    Returns
    Type Description
    Boolean

    true if found node type, false otherwise.

    FindParamType(String, out Type)

    Finds the type of the parameter.

    Declaration
    public static bool FindParamType(string key, out Type val)
    Parameters
    Type Name Description
    String key

    The key.

    Type val

    The value.

    Returns
    Type Description
    Boolean

    true if found parameter type, false otherwise.

    Initialize()

    Initializes this instance.

    Declaration
    public void Initialize()

    Initialize(SystemGraphData)

    Initializes the specified logic graph data.

    Declaration
    public void Initialize(SystemGraphData logicGraphData)
    Parameters
    Type Name Description
    SystemGraphData logicGraphData

    The logic graph data.

    RefreshDataModel()

    Refreshes the data model.

    Declaration
    public void RefreshDataModel()

    RefreshMapEditorTitle()

    Refreshes the map editor title.

    Declaration
    public static void RefreshMapEditorTitle()

    Reset()

    Resets this instance.

    Declaration
    public void Reset()

    See Also

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