Class Extensions
Provides some extension methods for various collections.
Namespace: Unity.Collections.NotBurstCompatible
Assembly: solution.dll
Syntax
public static class Extensions
Methods
Name | Description |
---|---|
CopyFromNBC<T>(NativeList<T>, T[]) | Clears this list and then copies all the elements of an array to this list. |
ToArrayNBC<T>(NativeList<T>) | Returns a new managed array which is a copy of this list. |
ToArray<T>(NativeHashSet<T>) | Returns a new managed array with all the elements copied from a set. |
ToArray<T>(NativeParallelHashSet<T>) | Returns a new managed array with all the elements copied from a set. |