Class GetVariableUnit
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitShortTitle("Get Variable")]
public abstract class GetVariableUnit : VariableUnit, IVariableUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Constructors
GetVariableUnit()
Declaration
protected GetVariableUnit()
GetVariableUnit(String)
Declaration
protected GetVariableUnit(string defaultName)
Parameters
Type | Name | Description |
---|---|---|
String | defaultName |
Properties
value
The value of the variable.
Declaration
[DoNotSerialize]
public ValueOutput value { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Get(Flow)
Declaration
protected virtual object Get(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
Object |
IsDefined(Flow)
Declaration
protected virtual bool IsDefined(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
Boolean |