Class ListExtensions
Extension methods for lists.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
public static class ListExtensions
Methods
Name | Description |
---|---|
RemoveAtSwapBack<T>(List<T>, int) | Removes the value at an index. |
RemoveSwapBack<T>(List<T>, Predicate<T>) | Finds and removes the first value which satisfies a predicate. |
RemoveSwapBack<T>(List<T>, T) | Finds and removes the first occurrence of a particular value in the list. |
ToNativeArray<T>(List<T>, AllocatorHandle) | Returns an array that is a copy of this list. |
ToNativeList<T>(List<T>, AllocatorHandle) | Returns a copy of this list. |