File size: 541 Bytes
18a519f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
        }
    }
}