Version: 2020.2

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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961