polygone/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Flow/FlowGraphContext.cs
2021-08-02 05:44:37 -04:00

18 lines
541 B
C#

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);
}
}
}