using JetBrains.Annotations; namespace Unity.VisualScripting { /// /// Set a ScriptGraph to a ScriptMachine /// [TypeIcon(typeof(FlowGraph))] public sealed class SetScriptGraph : SetGraph { /// /// The type of object that handles the graph. /// [Serialize, Inspectable, UnitHeaderInspectable, UsedImplicitly] public ScriptGraphContainerType containerType { get; set; } protected override bool isGameObject => containerType == ScriptGraphContainerType.GameObject; } }