Class HasGraph<TGraph, TMacro, TMachine>
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
Syntax
[UnitCategory("Graphs/Graph Nodes")]
public abstract class HasGraph<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; }
Property Value
| Type | Description |
|---|---|
| ControlInput |
exit
The action to execute once the graph has been set.
Declaration
[DoNotSerialize]
public ControlOutput exit { get; }
Property Value
| Type | Description |
|---|---|
| ControlOutput |
graphInput
The Graph to look for.
Declaration
[DoNotSerialize]
[PortLabel("Graph")]
public ValueInput graphInput { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
hasGraphOutput
True if a Graph if found.
Declaration
[DoNotSerialize]
[PortLabel("Has Graph")]
public ValueOutput hasGraphOutput { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
isGameObject
Declaration
protected abstract bool isGameObject { get; }
Property Value
| Type | Description |
|---|---|
| bool |
target
The GameObject or the Machine where to look for the graph.
Declaration
[DoNotSerialize]
[NullMeansSelf]
public ValueInput target { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
Methods
Definition()
Declaration
protected override void Definition()