Erase(GridLayout, GameObject, Vector3Int)
Erases data on a grid within the given bounds.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.TilemapModule
public virtual void Erase(GridLayout gridLayout, GameObject brushTarget, Vector3Int position)
Parameters
Grid used for layout.
Target of the erase operation. By default the currently selected GameObject.
The coordinates of the cell to erase data from.