Assert
Last updated
Last updated
The Assert Node compares two values and outputs the result of the comparison as a Boolean. The Data Type of the values to be compared can be chosen on the Attributes.
Scope: Project, Scene, Function, Prefab.
Attribute | Type | Description |
---|---|---|
| Drop-down | The Data Type of the two values that will be compared. |
| Drop-down | The operation that will be used to compare the values. |
| Defined in the | The default value of |
| Defined in the | The default value of |
| String | Message that will be printed on the Console along with the comparison result. |
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| Defined in the | First value to compare. |
| Defined in the | Second value to compare. |
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Bool | Result of the comparison. |