public static (NativeArray <TKey>, int) GetUniqueKeyArray(ref UnsafeMultiHashMap <TKey, TValue> hashMap, Allocator allocator) { var withDuplicates = hashMap.GetKeyArray(allocator); withDuplicates.Sort(); int uniques = withDuplicates.Unique(); return(withDuplicates, uniques); }
public UnsafeMultiHashMapDebuggerTypeProxy(UnsafeMultiHashMap <TKey, TValue> target) { m_Target = target; }