ドキュメント

Unity Engine

Unity Engine

TileArray

Creates a new array and allocates enough memory to fit the provided number of elements.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

TileArray(int, Allocator)

Creates a new array and allocates enough memory to fit the provided number of elements.
public TileArray(int length, Allocator allocator)

Parameters

length

The number of elements to allocate.

allocator

The Allocator to use for the data.

TileArray(int, MemoryLabel)

Creates a new array and allocates enough memory to fit the provided number of elements, using the specified memory label.
public TileArray(int length, MemoryLabel memoryLabel)

Parameters

length

The number of elements to allocate.

memoryLabel

The MemoryLabel to allocate under.