Class ScriptGraphViewWindow
The editor window to display the script graph view in.
Implements
IHasCustomMenu
Inherited Members
EditorWindow.BeginWindows()
EditorWindow.EndWindows()
EditorWindow.ShowNotification(GUIContent)
EditorWindow.RemoveNotification()
EditorWindow.ShowTab()
EditorWindow.Focus()
EditorWindow.ShowUtility()
EditorWindow.ShowPopup()
EditorWindow.ShowModalUtility()
EditorWindow.ShowAsDropDown(Rect, Vector2)
EditorWindow.Show()
EditorWindow.ShowAuxWindow()
EditorWindow.ShowModal()
EditorWindow.GetWindow<T>()
EditorWindow.HasOpenInstances<T>()
EditorWindow.FocusWindowIfItsOpen<T>()
EditorWindow.GetWindowWithRect<T>(Rect)
EditorWindow.Close()
EditorWindow.Repaint()
EditorWindow.SendEvent(Event)
EditorWindow.GetExtraPaneTypes()
EditorWindow.rootVisualElement
EditorWindow.wantsMouseMove
EditorWindow.wantsMouseEnterLeaveWindow
EditorWindow.autoRepaintOnSceneChange
EditorWindow.maximized
EditorWindow.focusedWindow
EditorWindow.mouseOverWindow
EditorWindow.minSize
EditorWindow.maxSize
EditorWindow.title
EditorWindow.titleContent
EditorWindow.depthBufferBits
EditorWindow.antiAlias
EditorWindow.position
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
Namespace: InsaneScatterbrain.ScriptGraph.Editor
Syntax
public class ScriptGraphViewWindow : EditorWindow, IHasCustomMenu
Properties
GraphInstance
Declaration
public ScriptGraphGraph GraphInstance { get; set; }
Property Value
Type | Description |
---|---|
ScriptGraphGraph |
GraphView
Declaration
public ScriptGraphView GraphView { get; }
Property Value
Type | Description |
---|---|
ScriptGraphView |
Instances
Declaration
public static IEnumerable<ScriptGraphViewWindow> Instances { get; }
Property Value
Type | Description |
---|---|
IEnumerable<ScriptGraphViewWindow> |
Methods
AddItemsToMenu(GenericMenu)
Adds your custom menu items to an Editor Window.
Declaration
public void AddItemsToMenu(GenericMenu menu)
Parameters
Type | Name | Description |
---|---|---|
GenericMenu | menu |
Contains(ScriptGraphGraph)
Declaration
public static bool Contains(ScriptGraphGraph graph)
Parameters
Type | Name | Description |
---|---|---|
ScriptGraphGraph | graph |
Returns
Type | Description |
---|---|
bool |
CreateGraphViewWindow(ScriptGraphGraph)
Declaration
public static ScriptGraphViewWindow CreateGraphViewWindow(ScriptGraphGraph graph)
Parameters
Type | Name | Description |
---|---|---|
ScriptGraphGraph | graph |
Returns
Type | Description |
---|---|
ScriptGraphViewWindow |
Get(ScriptGraphGraph)
Declaration
public static ScriptGraphViewWindow Get(ScriptGraphGraph graph)
Parameters
Type | Name | Description |
---|---|---|
ScriptGraphGraph | graph |
Returns
Type | Description |
---|---|
ScriptGraphViewWindow |
GetOrCreate(ScriptGraphGraph)
Gets the window for the given graph, if it doesn't exist, create it now.
Declaration
public static ScriptGraphViewWindow GetOrCreate(ScriptGraphGraph graph)
Parameters
Type | Name | Description |
---|---|---|
ScriptGraphGraph | graph |
Returns
Type | Description |
---|---|
ScriptGraphViewWindow |
Load(ScriptGraphGraph)
Load the given graph into the script graph view window.
Declaration
public void Load(ScriptGraphGraph loadGraph)
Parameters
Type | Name | Description |
---|---|---|
ScriptGraphGraph | loadGraph | The graph to load. |
Reload()
Reload the currently assigned graph into the graph view window.
Declaration
public void Reload()
ReloadAll()
Declaration
public static void ReloadAll()
Implements
UnityEditor.IHasCustomMenu