Version: 2021.3

Tilemap.CompressBounds

切换到手册
public void CompressBounds ();

描述

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