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