Compare
Last updated
Last updated
The Compare Node compares two Strings and outputs the result indicating whether they are equal or not in two forms: an Int and a Bool.
Scope: Project, Scene, Function, Prefab.
Attribute | Type | Description |
---|---|---|
| String | The default value of the first String to be compared, if none is given in the |
| String | The default value of the second String to be compared, if none is given in the |
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| String | The first String to be compared. |
| String | The second String to be compared. |
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. |
| Int | 0, if the Strings are equal; -1, if they are not. |
| Bool | True, if the Strings are equal; false, if they are not. |