Class ClearList
Clears all items from a list.
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitCategory]
[UnitSurtitleAttribute]
[UnitShortTitleAttribute]
[UnitOrderAttribute]
public sealed class ClearList : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
enter
The entry point for the node.
Declaration
[DoNotSerializeAttribute]
public ControlInput enter { get; }
Property Value
| Type | Description |
|---|---|
| ControlInput |
exit
The action to execute once the list has been cleared.
Declaration
[DoNotSerializeAttribute]
public ControlOutput exit { get; }
Property Value
| Type | Description |
|---|---|
| ControlOutput |
listInput
The list.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueInput listInput { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
listOutput
The cleared list. Note that the input list is modified directly and then returned, except if it is an array, in which case a new empty array is returned instead.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput listOutput { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
Methods
Clear(Flow)
Declaration
public ControlOutput Clear(Flow flow)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow |
Returns
| Type | Description |
|---|---|
| ControlOutput |
Definition()
Declaration
protected override void Definition()
Overrides
Implements
IDisposable