文档

Unity Engine

Unity Engine

InsertCells

Inserts cells into the Tilemap.
阅读时间1 分钟最后更新于 1 个月前

Definition

InsertCells(Vector3Int, Vector3Int)

Inserts cells into the Tilemap.
public void InsertCells(Vector3Int position, Vector3Int insertCells)

Parameters

position

The target position to insert at.

insertCells

The number of columns, rows or layers of cells to insert.

InsertCells(Vector3Int, int, int, int)

Inserts cells into the Tilemap.
public void InsertCells(Vector3Int position, int numColumns, int numRows, int numLayers)

Parameters

position

The target position to insert at.

numColumns

The number of columns to insert.

numRows

The number of rows to insert.

numLayers

The number of layers of cells to insert.