Class SetGraph<TGraph, TMacro, TMachine>
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
Syntax
[UnitCategory("Graphs/Graph Nodes")]
public abstract class SetGraph<TGraph, TMacro, TMachine> : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable where TGraph : class, IGraph, new() where TMacro : Macro<TGraph> where TMachine : Machine<TGraph, TMacro>
Type Parameters
Name | Description |
---|---|
TGraph | |
TMacro | |
TMachine |
Properties
enter
The entry point for the node.
Declaration
[DoNotSerialize]
public ControlInput enter { get; protected set; }
Property Value
Type | Description |
---|---|
ControlInput |
exit
The action to execute once the graph has been set.
Declaration
[DoNotSerialize]
public ControlOutput exit { get; protected set; }
Property Value
Type | Description |
---|---|
ControlOutput |
graphInput
The script graph.
Declaration
[DoNotSerialize]
[PortLabel("Graph")]
public ValueInput graphInput { get; protected set; }
Property Value
Type | Description |
---|---|
ValueInput |
graphOutput
The graph that has been set to the ScriptMachine.
Declaration
[DoNotSerialize]
[PortLabel("Graph")]
public ValueOutput graphOutput { get; protected set; }
Property Value
Type | Description |
---|---|
ValueOutput |
isGameObject
Declaration
protected abstract bool isGameObject { get; }
Property Value
Type | Description |
---|---|
bool |
target
The GameObject or the ScriptMachine where the graph will be set.
Declaration
[DoNotSerialize]
[NullMeansSelf]
public ValueInput target { get; protected set; }
Property Value
Type | Description |
---|---|
ValueInput |
Methods
Definition()
Declaration
protected override void Definition()