Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToArray<T>(UnsafeParallelHashSet<T>)

Returns a new managed array with all the elements copied from a set.
Read time 1 minuteLast updated 14 days ago

Definition

public static T[] ToArray<T>(this UnsafeParallelHashSet<T> set) where T : unmanaged, IEquatable<T>

Parameters

The set whose elements are copied to the array.

Returns

Type

Description

<T>[]A new managed array with all the elements copied from a set.