Class GetObjectVariable
Gets the value of an object variable.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitSurtitle("Object")]
public sealed class GetObjectVariable : GetVariableUnit, IObjectVariableUnit, IVariableUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Constructors
GetObjectVariable()
Declaration
public GetObjectVariable()
GetObjectVariable(String)
Declaration
public GetObjectVariable(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name |
Properties
source
The source of the variable.
Declaration
[DoNotSerialize]
[NullMeansSelf]
public ValueInput source { get; }
Property Value
Type | Description |
---|---|
ValueInput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
GetDeclarations(Flow)
Declaration
protected override VariableDeclarations GetDeclarations(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
VariableDeclarations |