WuhuIslandTesting/Library/PackageCache/com.unity.visualscripting@1.7.8/Editor/VisualScripting.State/Graph/StateGraphContext.cs

19 lines
545 B
C#
Raw Normal View History

2025-01-07 02:06:59 +01:00
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);
}
}
}