DeleteCells
Removes cells from within the Tilemap 's bounds.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Tilemaps
- Assembly: UnityEngine.TilemapModule
DeleteCells(Vector3Int, Vector3Int)
Removes cells from within the Tilemap's bounds.
public void DeleteCells(Vector3Int position, Vector3Int deleteCells)
Parameters
The target position to remove from.
The number of columns, rows and layers of cells to remove.
DeleteCells(Vector3Int, int, int, int)
Removes cells from within the Tilemap's bounds.
public void DeleteCells(Vector3Int position, int numColumns, int numRows, int numLayers)
Parameters
Target position to delete from.
The number of columns to remove.
The number of rows to remove.
The number of layers of cells to remove.