AddRange
Copies the elements of a buffer to the end of this list.
읽는 시간 1분최근 업데이트: 한 달 전
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.