Class EqualityComparison
Compares two inputs to determine if they are equal or not equal.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Logic")]
[UnitTitle("Equality Comparison")]
[UnitSurtitle("Equality")]
[UnitShortTitle("Comparison")]
[UnitOrder(4)]
[Obsolete("Use the Comparison unit instead.")]
public sealed class EqualityComparison : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
a
The first input.
Declaration
[DoNotSerialize]
public ValueInput a { get; }
Property Value
Type | Description |
---|---|
ValueInput |
b
The second input.
Declaration
[DoNotSerialize]
public ValueInput b { get; }
Property Value
Type | Description |
---|---|
ValueInput |
equal
Whether A is equal to B.
Declaration
[DoNotSerialize]
[PortLabel("A = B")]
public ValueOutput equal { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
notEqual
Whether A is different than B.
Declaration
[DoNotSerialize]
[PortLabel("A ≠ B")]
public ValueOutput notEqual { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()