TileArray
Creates a new array and allocates enough memory to fit the provided number of elements.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEngine.Tilemaps
- Assembly: UnityEngine.TilemapModule
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
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)