Version: 2018.1
public void CompressBounds ();

Description

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