Class HasStateGraph
Check if a GameObject or StateMachine has a StateGraph
Inheritance
HasStateGraph
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[TypeIcon(typeof(StateGraph))]
[UnitCategory("Graphs/Graph Nodes")]
public sealed class HasStateGraph : HasGraph<StateGraph, StateGraphAsset, StateMachine>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
containerType
The type of object that handles the graph.
Declaration
[Serialize]
[Inspectable]
[UnitHeaderInspectable]
[UsedImplicitly]
public StateGraphContainerType containerType { get; set; }
Property Value
Type | Description |
---|---|
StateGraphContainerType |
isGameObject
Declaration
protected override bool isGameObject { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.HasGraph<Unity.VisualScripting.StateGraph, Unity.VisualScripting.StateGraphAsset, Unity.VisualScripting.StateMachine>.isGameObject