Maze / Library /PackageCache /com.unity.visualscripting@1.8.0 /Runtime /VisualScripting.State /Units /SetStateGraph.cs
| using JetBrains.Annotations; | |
| namespace Unity.VisualScripting | |
| { | |
| /// <summary> | |
| /// Set a StateGraphAsset to a StateMachine | |
| /// </summary> | |
| [] | |
| public class SetStateGraph : SetGraph<StateGraph, StateGraphAsset, StateMachine> | |
| { | |
| /// <summary> | |
| /// The type of object that handles the graph. | |
| /// </summary> | |
| [] | |
| public StateGraphContainerType containerType { get; set; } | |
| protected override bool isGameObject => containerType == StateGraphContainerType.GameObject; | |
| } | |
| } | |