Class GraphWindow
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Core.Editor.dll
Syntax
public sealed class GraphWindow : LudiqEditorWindow, ISerializationCallbackReceiver, IHasCustomMenu, ICanvasWindow
Properties
active
Declaration
public static GraphWindow active { get; set; }
Property Value
Type | Description |
---|---|
Graph |
activeContext
Declaration
public static IGraphContext activeContext { get; }
Property Value
Type | Description |
---|---|
IGraph |
activeReference
Declaration
public static GraphReference activeReference { get; set; }
Property Value
Type | Description |
---|---|
Graph |
context
Declaration
[DoNotSerialize]
public IGraphContext context { get; }
Property Value
Type | Description |
---|---|
IGraph |
graphInspectorEnabled
Declaration
[Serialize]
public bool graphInspectorEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
isActive
Declaration
public bool isActive { get; }
Property Value
Type | Description |
---|---|
bool |
locked
Declaration
[Serialize]
public bool locked { get; set; }
Property Value
Type | Description |
---|---|
bool |
reference
Declaration
[DoNotSerialize]
public GraphReference reference { get; set; }
Property Value
Type | Description |
---|---|
Graph |
showSidebars
Declaration
public bool showSidebars { get; }
Property Value
Type | Description |
---|---|
bool |
tabs
Declaration
public static IEnumerable<GraphWindow> tabs { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Graph |
tabsNoAlloc
Declaration
public static HashSet<GraphWindow> tabsNoAlloc { get; }
Property Value
Type | Description |
---|---|
Hash |
variablesInspectorEnabled
Declaration
[Serialize]
public bool variablesInspectorEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
AddCursorRect(Rect, MouseCursor)
Declaration
public void AddCursorRect(Rect rect, MouseCursor cursor)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect | |
Mouse |
cursor |
Clear()
Declaration
public void Clear()
MatchSelection(bool)
Declaration
public void MatchSelection(bool IsOnHierarchyChange = false)
Parameters
Type | Name | Description |
---|---|---|
bool | IsOnHierarchyChange |
OnGUI()
Declaration
protected override void OnGUI()
Overrides
OpenActive(GraphReference)
Declaration
public static void OpenActive(GraphReference reference)
Parameters
Type | Name | Description |
---|---|---|
Graph |
reference |
OpenTab()
Declaration
public static void OpenTab()
OpenTab(GraphReference)
Declaration
public static void OpenTab(GraphReference reference)
Parameters
Type | Name | Description |
---|---|---|
Graph |
reference |
Update()
Declaration
protected override void Update()
Overrides
Validate()
Declaration
public void Validate()
Events
activeContextChanged
Declaration
public static event Action<IGraphContext> activeContextChanged
Event Type
Type | Description |
---|---|
Action<IGraph |