mathe/Library/PackageCache/com.unity.visualscripting@1.9.0/Editor/VisualScripting.Flow/FlowGraphContext.cs

19 lines
541 B
C#
Raw Normal View History

2024-09-20 20:30:10 +02:00
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[GraphContext(typeof(FlowGraph))]
public class FlowGraphContext : GraphContext<FlowGraph, FlowCanvas>
{
public FlowGraphContext(GraphReference reference) : base(reference) { }
public override string windowTitle => "Script Graph";
protected override IEnumerable<ISidebarPanelContent> SidebarPanels()
{
yield return new GraphInspectorPanel(this);
yield return new VariablesPanel(this);
}
}
}