Class Sequence
Executes the output ports in order.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Control")]
[UnitOrder(13)]
public sealed class Sequence : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
enter
The entry point for the sequence.
Declaration
[DoNotSerialize]
public ControlInput enter { get; }
Property Value
| Type | Description |
|---|---|
| ControlInput |
multiOutputs
Declaration
[DoNotSerialize]
public ReadOnlyCollection<ControlOutput> multiOutputs { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<ControlOutput> |
outputCount
Declaration
[DoNotSerialize]
[Inspectable]
[InspectorLabel("Steps")]
[UnitHeaderInspectable("Steps")]
public int outputCount { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Methods
CopyFrom(Sequence)
Declaration
public void CopyFrom(Sequence source)
Parameters
| Type | Name | Description |
|---|---|---|
| Sequence | source |
Definition()
Declaration
protected override void Definition()