Version: 2022.1

Tilemap.InsertCells

切换到手册
public void InsertCells (Vector3Int position, Vector3Int insertCells);

参数

position The target position to insert at.
insertCells The number of columns, rows or layers of cells to insert.

描述

Inserts cells into the Tilemap.


public void InsertCells (Vector3Int position, int numColumns, int numRows, int numLayers);

参数

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.

描述

Inserts cells into the Tilemap.