A game about forced loneliness, made by TACStudios
1using JetBrains.Annotations;
2
3namespace Unity.VisualScripting
4{
5 /// <summary>
6 /// Set a ScriptGraph to a ScriptMachine
7 /// </summary>
8 [TypeIcon(typeof(FlowGraph))]
9 public sealed class SetScriptGraph : SetGraph<FlowGraph, ScriptGraphAsset, ScriptMachine>
10 {
11 /// <summary>
12 /// The type of object that handles the graph.
13 /// </summary>
14 [Serialize, Inspectable, UnitHeaderInspectable, UsedImplicitly]
15 public ScriptGraphContainerType containerType { get; set; }
16
17 protected override bool isGameObject => containerType == ScriptGraphContainerType.GameObject;
18 }
19}