docs.unity.cn
    Show / Hide Table of Contents

    Class GraphEditorWindow

    GraphEditorWindow, extends the editor window for SystemGraph asset manipulation. Implements the EditorWindow

    Inheritance
    Object
    Object
    ScriptableObject
    EditorWindow
    GraphEditorWindow
    Inherited Members
    EditorWindow.BeginWindows()
    EditorWindow.EndWindows()
    EditorWindow.ShowNotification(GUIContent)
    EditorWindow.ShowNotification(GUIContent, Double)
    EditorWindow.RemoveNotification()
    UnityEditor.EditorWindow.ShowTab()
    EditorWindow.Focus()
    EditorWindow.ShowUtility()
    EditorWindow.ShowPopup()
    EditorWindow.ShowModalUtility()
    EditorWindow.ShowAsDropDown(Rect, Vector2)
    EditorWindow.Show()
    EditorWindow.Show(Boolean)
    EditorWindow.ShowAuxWindow()
    EditorWindow.ShowModal()
    EditorWindow.GetWindow(Type, Boolean, String, Boolean)
    EditorWindow.GetWindow(Type, Boolean, String)
    EditorWindow.GetWindow(Type, Boolean)
    EditorWindow.GetWindow(Type)
    EditorWindow.GetWindowWithRect(Type, Rect, Boolean, String)
    EditorWindow.GetWindowWithRect(Type, Rect, Boolean)
    EditorWindow.GetWindowWithRect(Type, Rect)
    UnityEditor.EditorWindow.GetWindow<T>()
    UnityEditor.EditorWindow.GetWindow<T>(System.Boolean)
    UnityEditor.EditorWindow.GetWindow<T>(System.Boolean, System.String)
    UnityEditor.EditorWindow.GetWindow<T>(System.String)
    UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Boolean)
    UnityEditor.EditorWindow.GetWindow<T>(System.Boolean, System.String, System.Boolean)
    UnityEditor.EditorWindow.GetWindow<T>(System.Type[])
    UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Type[])
    UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Boolean, System.Type[])
    UnityEditor.EditorWindow.CreateWindow<T>(System.Type[])
    UnityEditor.EditorWindow.CreateWindow<T>(System.String, System.Type[])
    UnityEditor.EditorWindow.HasOpenInstances<T>()
    EditorWindow.FocusWindowIfItsOpen(Type)
    UnityEditor.EditorWindow.FocusWindowIfItsOpen<T>()
    UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect)
    UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean)
    UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean, System.String)
    UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean, System.String, System.Boolean)
    EditorWindow.DiscardChanges()
    EditorWindow.Close()
    EditorWindow.Repaint()
    EditorWindow.SendEvent(Event)
    EditorWindow.GetExtraPaneTypes()
    UnityEditor.EditorWindow.TryGetOverlay(System.String, UnityEditor.Overlays.Overlay)
    EditorWindow.OnBackingScaleFactorChanged()
    EditorWindow.rootVisualElement
    EditorWindow.overlayCanvas
    EditorWindow.wantsMouseMove
    EditorWindow.wantsMouseEnterLeaveWindow
    EditorWindow.wantsLessLayoutEvents
    EditorWindow.autoRepaintOnSceneChange
    EditorWindow.maximized
    EditorWindow.hasFocus
    EditorWindow.docked
    EditorWindow.focusedWindow
    EditorWindow.mouseOverWindow
    EditorWindow.hasUnsavedChanges
    EditorWindow.saveChangesMessage
    EditorWindow.minSize
    EditorWindow.maxSize
    EditorWindow.title
    EditorWindow.titleContent
    UnityEditor.EditorWindow.depthBufferBits
    UnityEditor.EditorWindow.antiAlias
    EditorWindow.position
    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 GraphEditorWindow : EditorWindow

    Fields

    Cursor

    The mouse cursor icon

    Declaration
    public MouseCursor Cursor
    Field Value
    Type Description
    MouseCursor

    MousePosition

    The current mouse position

    Declaration
    public Vector2 MousePosition
    Field Value
    Type Description
    Vector2

    Properties

    Dirty

    Dirty flag for unsaved changes

    Declaration
    public bool Dirty { get; set; }
    Property Value
    Type Description
    Boolean

    LogicGraphEditorView

    Gets or sets the logic graph editor view.

    Declaration
    public GraphEditorView LogicGraphEditorView { get; set; }
    Property Value
    Type Description
    GraphEditorView

    The logic graph editor view.

    SelectedGuid

    Gets the selected asset unique identifier.

    Declaration
    public string SelectedGuid { get; }
    Property Value
    Type Description
    String

    The selected unique identifier of this editor window asset.

    Methods

    AssetRenamed(String, String)

    Signaled when asset file name is changed

    Declaration
    public void AssetRenamed(string sourceFile, string destinationFile)
    Parameters
    Type Name Description
    String sourceFile

    Source file name.

    String destinationFile

    Destination file name.

    AttachRuntimeGraph(SystemGraphComponent)

    Attaches a SystemGraphComponent to this editor window.

    Declaration
    public void AttachRuntimeGraph(SystemGraphComponent attachRuntimeGraph)
    Parameters
    Type Name Description
    SystemGraphComponent attachRuntimeGraph

    The attached runtime graph.

    Initialize(String, SystemGraphComponent)

    Initializes the graph editor window with the asset guid.

    Declaration
    public void Initialize(string guid, SystemGraphComponent attachRuntimeGraph = null)
    Parameters
    Type Name Description
    String guid

    Asset guid.

    SystemGraphComponent attachRuntimeGraph

    Optional SystemGraphComponent instance to attach to the editor window.

    OnGUI()

    Called when [GUI] needs to draw.

    Declaration
    public void OnGUI()

    PingAsset()

    Pings the asset in the project folder view.

    Declaration
    public void PingAsset()

    SaveChanges()

    Saves changes when requested by user upon window close

    Declaration
    public override void SaveChanges()
    Overrides
    EditorWindow.SaveChanges()

    UpdateAsset()

    Updates the asset in the AssetDatabase.

    Declaration
    public void UpdateAsset()

    See Also

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