Class HasScriptGraph
Check if a GameObject or ScriptMachine has a ScriptGraph
Inheritance
HasScriptGraph
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[TypeIcon(typeof(FlowGraph))]
[UnitCategory("Graphs/Graph Nodes")]
public sealed class HasScriptGraph : HasGraph<FlowGraph, ScriptGraphAsset, ScriptMachine>, 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 ScriptGraphContainerType containerType { get; set; }
Property Value
Type | Description |
---|---|
ScriptGraphContainerType |
isGameObject
Declaration
protected override bool isGameObject { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.HasGraph<Unity.VisualScripting.FlowGraph, Unity.VisualScripting.ScriptGraphAsset, Unity.VisualScripting.ScriptMachine>.isGameObject