Version: 2021.3

Tilemap.ResizeBounds

切换到手册
public void ResizeBounds ();

描述

Resizes Tiles in the Tilemap to bounds defined by origin and size.

边界之外的瓦片会从 Tilemap 中删除。