File size: 545 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(StateGraph))]
public class StateGraphContext : GraphContext<StateGraph, StateCanvas>
{
public StateGraphContext(GraphReference reference) : base(reference) { }
public override string windowTitle => "State Graph";
protected override IEnumerable<ISidebarPanelContent> SidebarPanels()
{
yield return new GraphInspectorPanel(this);
yield return new VariablesPanel(this);
}
}
}
|