Class FlowNode_WhileLoop
[CeresGroup("Utilities/Flow Control")]
[CeresLabel("While Loop")]
[NodeInfo("Repeats the loop body while the condition is true, up to the maximum iteration limit, then continues through Completed.")]
public class FlowNode_WhileLoop : ForwardNode, IEnumerable<CeresNode>, IEnumerable, IDisposable
- Inheritance
-
FlowNode_WhileLoop
- Implements
- Inherited Members
Constructors
FlowNode_WhileLoop()
public FlowNode_WhileLoop()
Fields
completed
[OutputPort(false)]
[CeresLabel("Completed")]
public NodePort completed
Field Value
condition
[InputPort(false)]
public CeresPort<bool> condition
Field Value
loopBody
[OutputPort(false)]
[CeresLabel("Loop Body")]
public NodePort loopBody
Field Value
maxIterations
[InputPort(false)]
[CeresLabel("Max Iterations")]
public CeresPort<int> maxIterations
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()