Class GetSavedVariable
Gets the value of a saved variable.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitSurtitle("Save")]
public sealed class GetSavedVariable : GetVariableUnit, ISavedVariableUnit, IVariableUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Constructors
GetSavedVariable()
Declaration
public GetSavedVariable()
GetSavedVariable(String)
Declaration
public GetSavedVariable(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 |