Class HasGraph<TGraph, TMacro, TMachine>
Inherited Members
Namespace: Unity.VisualScripting
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 |
---|---|
Boolean |
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()