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