Class VariableUnit
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[Obsolete("Use the new unified variable nodes instead.")]
public abstract class VariableUnit : Unit, IVariableUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Constructors
VariableUnit()
Declaration
protected VariableUnit()
VariableUnit(String)
Declaration
protected VariableUnit(string defaultName)
Parameters
Type | Name | Description |
---|---|---|
String | defaultName |
Properties
defaultName
Declaration
[DoNotSerialize]
public string defaultName { get; }
Property Value
Type | Description |
---|---|
String |
name
The name of the variable.
Declaration
[DoNotSerialize]
public ValueInput name { get; }
Property Value
Type | Description |
---|---|
ValueInput |
Implements
Methods
Definition()
Declaration
protected override void Definition()
Overrides
GetDeclarations(Flow)
Declaration
protected abstract VariableDeclarations GetDeclarations(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
VariableDeclarations |