Version: 2023.1

Tilemap.DeleteCells

切换到手册
public void DeleteCells (Vector3Int position, Vector3Int deleteCells);

参数

position The target position to remove from.
deleteCells The number of columns, rows and layers of cells to remove.

描述

Removes cells from within the Tilemap's bounds.


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

参数

position Target position to delete from.
numColumns The number of columns to remove.
numRows The number of rows to remove.
numLayers The number of layers of cells to remove.

描述

Removes cells from within the Tilemap's bounds.