ClearAllTiles()
Clears all Tile s that are placed in the Tilemap.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Tilemaps
- Assembly: UnityEngine.TilemapModule
public void ClearAllTiles()
Remarks
This will also resize the Tilemap to its default values.
In the Editor, this will also clear all editor preview Tiles.