Table of Contents

Class FlowNode_Branch

Namespace
Ceres.Flow.Utilities
Assembly
Ceres.Flow.dll

Branch will route the execution flow depending on the value of the condition input.

[CeresGroup("Utilities")]
[CeresLabel("Branch")]
[NodeInfo("Routes execution to True or False depending on the condition value.")]
public class FlowNode_Branch : ForwardNode, IEnumerable<CeresNode>, IEnumerable, IDisposable
Inheritance
FlowNode_Branch
Implements
Inherited Members

Constructors

FlowNode_Branch()

public FlowNode_Branch()

Fields

condition

[InputPort(false)]
public CeresPort<bool> condition

Field Value

CeresPort<bool>

falseOutput

[OutputPort(false)]
[CeresLabel("False")]
public NodePort falseOutput

Field Value

NodePort

trueOutput

[OutputPort(false)]
[CeresLabel("True")]
public NodePort trueOutput

Field Value

NodePort

Methods

Execute(ExecutionContext)

protected override sealed UniTask Execute(ExecutionContext executionContext)

Parameters

executionContext ExecutionContext

Returns

UniTask

__getTypeName()

protected override string __getTypeName()

Returns

string

__initializePorts()

protected override void __initializePorts()

__initializeVariables()

protected override void __initializeVariables()