Class SetSavedVariable
Sets the value of a saved variable.
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
Syntax
[UnitSurtitle("Save")]
public sealed class SetSavedVariable : SetVariableUnit, ISavedVariableUnit, IVariableUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Constructors
SetSavedVariable()
Declaration
public SetSavedVariable()
SetSavedVariable(string)
Declaration
public SetSavedVariable(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 |