Class SetListItem
Sets the item at the specified index of a list.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Collections/Lists")]
[UnitSurtitle("List")]
[UnitShortTitle("Set Item")]
[UnitOrder(1)]
[TypeIcon(typeof(IList))]
public sealed class SetListItem : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
enter
The entry point for the node.
Declaration
[DoNotSerialize]
public ControlInput enter { get; }
Property Value
Type | Description |
---|---|
ControlInput |
exit
The action to execute once the item has been assigned.
Declaration
[DoNotSerialize]
public ControlOutput exit { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
index
The zero-based index.
Declaration
[DoNotSerialize]
public ValueInput index { get; }
Property Value
Type | Description |
---|---|
ValueInput |
item
The item.
Declaration
[DoNotSerialize]
public ValueInput item { get; }
Property Value
Type | Description |
---|---|
ValueInput |
list
The list.
Declaration
[DoNotSerialize]
public ValueInput list { get; }
Property Value
Type | Description |
---|---|
ValueInput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Set(Flow)
Declaration
public ControlOutput Set(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
ControlOutput |