SupportedComparisons
The comparison operators offered by the comparison dropdown.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
protected virtual IReadOnlyList<ConditionComparison> SupportedComparisons { get; }
Remarks
By default this property returns and the dropdown filters the operators by the value type: ordered types such as numeric types offer every ConditionComparison operator, other types offer equality operators only. Override this property to supply your own list of operators; an empty list behaves like and falls back to the type-based defaults. It is only relevant when Condition<T>.DisplayComparisonDropdown is overridden to return .
nullnulltrue