Class SwitchNode
A switch node is a flow control node that reads in a string input, and based on the value of that input, sends the execution flow out of the matching (or optional default) output pin.
public class SwitchNode : BaseNode, ITraversableNode
Inheritance
Implements
Fields
Default
Fallback output branch used when no match is found in OutputPins.
public Flow Default
Field Value
OutputPins
Dynamic output branches that are selected based on the Selection value. Each branch corresponds to a name in this array.
[FormerlySerializedAs("BranchOptions")]
public string[] OutputPins
Field Value
string[]
Selection
A string value used to determine which branch to activate. Matches against the names in OutputPins.
public string Selection
Field Value
string