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