Maze / Library /PackageCache /com.unity.visualscripting@1.8.0 /Editor /VisualScripting.State /Graph /StateGraphContext.cs
| using System.Collections.Generic; | |
| namespace Unity.VisualScripting | |
| { | |
| [] | |
| 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); | |
| } | |
| } | |
| } | |