Class SetSceneVariable
Sets the value of a scene variable.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitSurtitle("Scene")]
public sealed class SetSceneVariable : SetVariableUnit, ISceneVariableUnit, IVariableUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Constructors
SetSceneVariable()
Declaration
public SetSceneVariable()
SetSceneVariable(String)
Declaration
public SetSceneVariable(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 |