文档

Unity Engine


User Manual

Script Reference

Unity Engine


AddRangeNoResize

Copies pointers from a buffer to the end of the list.
阅读时间1 分钟最后更新于 1 个月前

Definition

AddRangeNoResize(`0**, int)

Copies pointers from a buffer to the end of the list.
public void AddRangeNoResize(T** ptr, int count)

Parameters

The buffer to copy from.

count

The number of pointers to copy from the buffer.

Remarks

Increments the length by
count
. Never increases the capacity.

AddRangeNoResize(UnsafePtrList<T>)

Copies the pointers of another list to the end of this list.
public void AddRangeNoResize(UnsafePtrList<T> list)

Parameters

The other list to copy from.

Remarks

Increments the length by the length of the other list. Never increases the capacity.