ConditionComparison
Specifies the comparison operator used by a condition to compare a value against the condition's reference value.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Enum
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public enum ConditionComparison
Remarks
A condition records the operator and the reference value; it does not evaluate them. The consuming runtime performs the comparison. Ordering operators such as ConditionComparison.Less only apply to values whose type supports ordering, such as numeric types; other types support ConditionComparison.Equal and ConditionComparison.NotEqual only.
Fields
Value | Description |
|---|---|
| Equal | The value equals the reference value. |
| Greater | The value is greater than the reference value. |
| GreaterOrEqual | The value is greater than or equal to the reference value. |
| Less | The value is less than the reference value. |
| LessOrEqual | The value is less than or equal to the reference value. |
| NotEqual | The value does not equal the reference value. |