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