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