Class GetGraph<TGraph, TGraphAsset, TMachine>
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Graphs/Graph Nodes")]
public abstract class GetGraph<TGraph, TGraphAsset, TMachine> : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable where TGraph : class, IGraph, new()
where TGraphAsset : Macro<TGraph> where TMachine : Machine<TGraph, TGraphAsset>
Type Parameters
Name | Description |
---|---|
TGraph | |
TGraphAsset | |
TMachine |
Properties
gameObject
The GameObject to retrieve the graph from.
Declaration
[DoNotSerialize]
[NullMeansSelf]
public ValueInput gameObject { get; protected set; }
Property Value
Type | Description |
---|---|
ValueInput |
graphOutput
The graph that is set on the GameObject.
Declaration
[DoNotSerialize]
[PortLabel("Graph")]
public ValueOutput graphOutput { get; protected set; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()