Files
CartoonRPG/Library/PackageCache/com.unity.visualeffectgraph@2973a8ac1070/Documentation~/Operator-LogicOr.md

17 lines
968 B
Markdown
Raw Normal View History

2025-06-05 22:59:18 +01:00
# Or (Logic)
Menu Path : **Operator > Logic > Or**
The **Or** Operator takes two inputs and outputs the result of a logical *or* operation between them. The result of A **Or** B is `true` if either A or B is `true`. This Operator is equivalent to the C# `||` operator.
## Operator properties
| **Input** | **Type** | **Description** |
| --------- | -------- | ---------------------------------------------------------- |
| **A** | bool | The left operand. If this is `true` then **o** is `true`. |
| **B** | bool | The right operand. If this is `true` then **o** is `true`. |
| **Output** | **Type** | **Description** |
| ---------- | -------- | ------------------------------------------------------------ |
| **o** | bool | If **A** or **B** is `true`, this value is `true`. Otherwise, if both **A** and **B** are `false` this value is `false`. |