Version: 2017.2
public void Erase (GridLayout gridLayout, GameObject brushTarget, Vector3Int position);

参数

gridLayout Grid used for layout.
brushTarget 擦除操作的目标。默认为当前选择的 GameObject。
position 要从中擦除数据的单元格的坐标。

描述

擦除所选层中给定位置内的瓦片和游戏对象。

Erases tiles in an associated tile map and removes GameObjects from the grid in the given position.