Class Comparison
Compares two inputs.
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitCategory]
[UnitTitleAttribute]
[UnitShortTitleAttribute]
[UnitOrderAttribute]
public sealed class Comparison : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
a
The first input.
Declaration
[DoNotSerializeAttribute]
public ValueInput a { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
aEqualToB
Whether A is equal to B.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput aEqualToB { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
aGreaterThanOrEqualToB
Whether A is greater than or equal to B.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput aGreaterThanOrEqualToB { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
aGreatherThanB
Whether A is greater than B.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput aGreatherThanB { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
aLessThanB
Whether A is less than B.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput aLessThanB { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
aLessThanOrEqualToB
Whether A is less than or equal to B.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput aLessThanOrEqualToB { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
aNotEqualToB
Whether A is not equal to B.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput aNotEqualToB { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
b
The second input.
Declaration
[DoNotSerializeAttribute]
public ValueInput b { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
numeric
Whether the compared inputs are numbers.
Declaration
[SerializeAttribute]
[InspectableAttribute]
public bool numeric { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Implements
IDisposable