暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FlowGraphContext.cs 541B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. namespace Unity.VisualScripting
  3. {
  4. [GraphContext(typeof(FlowGraph))]
  5. public class FlowGraphContext : GraphContext<FlowGraph, FlowCanvas>
  6. {
  7. public FlowGraphContext(GraphReference reference) : base(reference) { }
  8. public override string windowTitle => "Script Graph";
  9. protected override IEnumerable<ISidebarPanelContent> SidebarPanels()
  10. {
  11. yield return new GraphInspectorPanel(this);
  12. yield return new VariablesPanel(this);
  13. }
  14. }
  15. }