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

SetStateGraph.cs 624B

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