NativeSortExtension.DefaultComparer<T>
A comparer that uses IComparable.CompareTo(). For primitive types, this is an ascending sort.
阅读时间1 分钟最后更新于 1 个月前
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. |