Class SetGraphVariable
Sets the value of a graph variable.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitSurtitle("Graph")]
public sealed class SetGraphVariable : SetVariableUnit, IGraphVariableUnit, IVariableUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Constructors
SetGraphVariable()
Declaration
public SetGraphVariable()
SetGraphVariable(String)
Declaration
public SetGraphVariable(string defaultName)
Parameters
Type | Name | Description |
---|---|---|
String | defaultName |
Methods
GetDeclarations(Flow)
Declaration
protected override VariableDeclarations GetDeclarations(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
VariableDeclarations |