Version: 2020.2
LanguageEnglish
  • C#

Tilemap.DeleteCells

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public void DeleteCells(Vector3Int position, Vector3Int deleteCells);

Parameters

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

Description

Removes cells from within the Tilemap's bounds.


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

Parameters

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.

Description

Removes cells from within the Tilemap's bounds.