Class CreateList
Creates a list from a number of item inputs.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Collections/Lists")]
[UnitOrder(-1)]
[TypeIcon(typeof(IList))]
public sealed class CreateList : MultiInputUnit<object>, IMultiInputUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
inputCount
Declaration
[InspectorLabel("Elements")]
[UnitHeaderInspectable("Elements")]
[Inspectable]
public override int inputCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Overrides
Unity.VisualScripting.MultiInputUnit<System.Object>.inputCount
list
The created list.
Declaration
[DoNotSerialize]
public ValueOutput list { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
minInputCount
Declaration
[DoNotSerialize]
protected override int minInputCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
Overrides
Unity.VisualScripting.MultiInputUnit<System.Object>.minInputCount
Methods
Create(Flow)
Declaration
public IList Create(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
IList |
Definition()
Declaration
protected override void Definition()
Overrides
Unity.VisualScripting.MultiInputUnit<System.Object>.Definition()