Class FlowNode_ForEachLoop
Iterate over the output of given array.
[CeresGroup("Utilities/Array")]
[CeresLabel("For Each Loop")]
[NodeInfo("Iterates over each element of an object array and executes the loop body.")]
public sealed class FlowNode_ForEachLoop : ForwardNode, IEnumerable<CeresNode>, IEnumerable, IDisposable
- Inheritance
-
FlowNode_ForEachLoop
- Implements
- Inherited Members
Constructors
FlowNode_ForEachLoop()
public FlowNode_ForEachLoop()
Fields
array
[InputPort(true)]
[HideInGraphEditor]
public CeresPort<Array> array
Field Value
arrayElement
[OutputPort(true)]
public CeresPort<object> arrayElement
Field Value
completed
[OutputPort(false)]
public NodePort completed
Field Value
loopBody
[OutputPort(false)]
public NodePort loopBody
Field Value
Methods
Execute(ExecutionContext)
protected override UniTask Execute(ExecutionContext executionContext)
Parameters
executionContextExecutionContext
Returns
- UniTask
__getTypeName()
protected override string __getTypeName()
Returns
__initializePorts()
protected override void __initializePorts()
__initializeVariables()
protected override void __initializeVariables()