Assert

Overview

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.

Attributes

Inputs

AttributeTypeDescription

Data Type

Drop-down

The Data Type of the two values that will be compared.

Operator

Drop-down

The operation that will be used to compare the values.

Default A

Defined in the Data Type Attribute

The default value of A, if none is given in the Input Socket.

Default B

Defined in the Data Type Attribute

The default value of B, if none is given in the Input Socket.

Label

String

Message that will be printed on the Console along with the comparison result.

Inputs

InputTypeDescription

Pulse Input (►)

Pulse

A standard Input Pulse, to trigger the execution of the Node.

A

Defined in the Data Type Attribute

First value to compare.

B

Defined in the Data Type Attribute

Second value to compare.

Outputs

OutputTypeDescription

Pulse Output (►)

Pulse

A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.

C

Bool

Result of the comparison.

Last updated