Class LessOrEqual
Compares two inputs to determine whether the first is less than or equal to the second.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Logic")]
[UnitOrder(10)]
public sealed class LessOrEqual : BinaryComparisonUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
comparison
Whether A is greater than or equal to 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 |
---|---|
Boolean |
Overrides
NumericComparison(Single, Single)
Declaration
protected override bool NumericComparison(float a, float b)
Parameters
Type | Name | Description |
---|---|---|
Single | a | |
Single | b |
Returns
Type | Description |
---|---|
Boolean |