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

20 lines
624 B
C#

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