NativeSortExtension.DefaultComparer<T>
A comparer that uses IComparable.CompareTo(). For primitive types, this is an ascending sort.
Read time 1 minuteLast updated 18 days ago
Definition
- Type: Struct
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
- Implements: IComparer<T>
public struct NativeSortExtension.DefaultComparer<T> : IComparer<T> where T : IComparable<T>
Methods
Method | Description |
|---|---|
| Compare | Compares two values. |