docs.unity.cn
    Show / Hide Table of Contents

    Class GraphEditorObject

    GraphEditorObject stores the graph asset data. Implements the ScriptableObject Implements the ISerializationCallbackReceiver

    Inheritance
    Object
    Object
    ScriptableObject
    GraphEditorObject
    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
    public class GraphEditorObject : ScriptableObject, ISerializationCallbackReceiver

    Properties

    Graph

    Gets the graph descriptor.

    Declaration
    public GraphDescriptor Graph { get; }
    Property Value
    Type Description
    GraphDescriptor

    Graph descriptor associated with this editor object.

    GraphInstance

    Gets or sets the graph instance.

    Declaration
    public SystemGraphComponent GraphInstance { get; set; }
    Property Value
    Type Description
    SystemGraphComponent

    The graph instance.

    LogicGraphData

    Gets the logic graph data.

    Declaration
    public SystemGraphData LogicGraphData { get; }
    Property Value
    Type Description
    SystemGraphData

    The logic graph data.

    Methods

    Initialize(GraphDescriptor, SystemGraphComponent)

    Initializes the specified desc.

    Declaration
    public void Initialize(GraphDescriptor desc, SystemGraphComponent attachRuntimeGraph = null)
    Parameters
    Type Name Description
    GraphDescriptor desc

    The desc.

    SystemGraphComponent attachRuntimeGraph

    The attach runtime graph.

    OnAfterDeserialize()

    Implement this method to receive a callback after Unity deserializes your object.

    Declaration
    public void OnAfterDeserialize()
    Implements
    ISerializationCallbackReceiver.OnAfterDeserialize()

    OnBeforeSerialize()

    Implement this method to receive a callback before Unity serializes your object.

    Declaration
    public void OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()

    RegisterCompleteObjectUndo(String)

    Registers the complete object undo.

    Declaration
    public void RegisterCompleteObjectUndo(string name)
    Parameters
    Type Name Description
    String name

    The name tag for the undo operation.

    Events

    Deserialized

    Occurs when [deserialized].

    Declaration
    public event Action Deserialized
    Event Type
    Type Description
    Action

    See Also

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