Class SetVariable
Assigns the value of a variable.
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitShortTitleAttribute]
public sealed class SetVariable : UnifiedVariableUnit, IUnifiedVariableUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
assign
The entry point to assign the variable.
Declaration
[DoNotSerializeAttribute]
public ControlInput assign { get; set; }
Property Value
| Type | Description |
|---|---|
| ControlInput |
assigned
The action to execute once the variable has been assigned.
Declaration
[DoNotSerializeAttribute]
public ControlOutput assigned { get; set; }
Property Value
| Type | Description |
|---|---|
| ControlOutput |
input
The value to assign to the variable.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueInput input { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
output
The value assigned to the variable.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput output { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Implements
IDisposable