Class NotEqual
Compares two inputs to determine whether they are not equal.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Logic")]
[UnitOrder(6)]
public sealed class NotEqual : BinaryComparisonUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Constructors
NotEqual()
Declaration
public NotEqual()
Properties
comparison
Whether A is different than B.
Declaration
[DoNotSerialize]
[PortLabel("A ≠ B")]
[PortKey("notEqual")]
public override ValueOutput comparison { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Overrides
outputKey
Declaration
protected override string outputKey { get; }
Property Value
Type | Description |
---|---|
String |
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 |