DeleteCells
Removes cells from within the Tilemap 's bounds.
阅读时间1 分钟最后更新于 1 个月前
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.