Last updated
Was this helpful?
Last updated
Was this helpful?
Branch triggers one of two Pulses, based on whether or not the Input
value is true or false. Branching is a fundamental part of conditional logic and at a high level it basically means "If this is true, do this; if not, do that". Although the Node takes a single condition, this condition can be composed of multiple other conditions when used in conjunction with Relational Expression Nodes (, , and ), Logical Operator Nodes (, , and ), and other Branch Nodes.
: Project, Scene, Function, Prefab.
on Wikipedia.
Default Value
Bool
The default value, if one is not provided in the Input
Socket.
Pulse Input (►)
Pulse
A standard input Pulse, to trigger the execution of the Node.
Input
Bool
The true or false condition to determine which of the two output Pulses is executed.
OnTrue
(►)
Pulse
The Pulse that will be triggered if Input
is true.
OnFalse
(►)
Pulse
The Pulse that will be triggered if Input
is false.