AddRange
Copies the elements of a buffer to the end of this list.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
AddRange(void*, int)
Copies the elements of a buffer to the end of this list.
public void AddRange(void* ptr, int count)
Parameters
Remarks
Increments the length by . Increases the capacity if necessary.
countAddRange(ReadOnlySpan<T>)
Copies elements from a ReadOnlySpan to the end of this list.
public void AddRange(ReadOnlySpan<T> roSpan)
Parameters
ReadOnlySpan to copy from.
AddRange(UnsafeList<T>)
Copies the elements of another container to the end of the list.
public void AddRange(UnsafeList<T> container)
Parameters
The container to copy from.
Remarks
The length is increased by the length of the other container. Increases the capacity if necessary.