Class SystemGraphObject
Class SystemGraphObject contains the SystemGraphData and internal data model caches. Implements the ScriptableObject
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
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 |
|
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 |
|
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 |
|
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()