Version: 2022.2

Tilemap.ClearAllTiles

切换到手册
public void ClearAllTiles ();

描述

Clears all Tiles that are placed in the Tilemap.

This will also resize the Tilemap to its default values.

In the Editor, this will also clear all editor preview Tiles.