API reference
API reference
Select your platform
No SDKs available
No versions available

CandidateComparer Class

Extends MonoBehaviour, ICandidateComparer
Type-specific descendent of ICandidateComparer, allowing typed-aware comparisons.
Others
T
The type to be compared
Comparisons between objects of T will result in the arguments being compared by Compare(T, T). Comparisons of any type other than T will evaluate the arguments as being equivalent.

Member Functions

Implementation of ICandidateComparer.Compare(object, object); for details, please refer to the related documentation provided for that property.
Adapter API which Compare(object, object) uses to perform typed comparisons between its arguments.
Parameters
a
Left-hand side of the comparison
b
Right-hand side of the comparison
Returns
The result of the comparison
Did you find this page helpful?
Thumbs up icon
Thumbs down icon