Class Less
Compares two inputs to determine whether the first is less than the second.
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
Syntax
[UnitCategory("Logic")]
[UnitOrder(9)]
public sealed class Less : BinaryComparisonUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
comparison
Whether A is less than B.
Declaration
[PortLabel("A < B")]
public override ValueOutput comparison { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Overrides
Methods
GenericComparison(object, object)
Declaration
protected override bool GenericComparison(object a, object b)
Parameters
Type | Name | Description |
---|---|---|
object | a | |
object | b |
Returns
Type | Description |
---|---|
bool |
Overrides
NumericComparison(float, float)
Declaration
protected override bool NumericComparison(float a, float b)
Parameters
Type | Name | Description |
---|---|---|
float | a | |
float | b |
Returns
Type | Description |
---|---|
bool |