Branch
Overview
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 (Is Equal, Is Greater Equal, and Is Less Equal), Logical Operator Nodes (AND, OR, and Negate), and other Branch Nodes.
Scope: Project, Scene, Function, Prefab.
Attributes
Inputs
Attribute | Type | Description |
---|---|---|
| Bool | The default value, if one is not provided in the |
Inputs
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard input Pulse, to trigger the execution of the Node. |
| Bool | The true or false condition to determine which of the two output Pulses is executed. |
Outputs
Output | Type | Description |
---|---|---|
| Pulse | The Pulse that will be triggered if |
| Pulse | The Pulse that will be triggered if |
External Links
Conditional (computer programming) on Wikipedia.
Last updated