Version: 2022.3

Tilemap.CompressBounds

切换到手册
public void CompressBounds ();

描述

Compresses the origin and size of the Tilemap to bounds where Tiles exist.