Net-Game/Library/PackageCache/com.unity.visualscripting@1b53f46e931b/Editor/VisualScripting.State/Graph/StateGraphContext.cs
2025-03-28 08:33:16 -04:00

19 lines
545 B
C#

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