var bounds = gridTilemap.cellBounds;
foreach (var pos in bounds.allPositionsWithin)
{
if (!gridTilemap.HasTile(pos)) continue;
var tile = gridTilemap.GetTile(pos);
var worldPos = gridTilemap.GetCellCenterWorld(pos);
Debug.Log($"Cell: {pos} | World: {worldPos} | Tile: {tile.name}");
}
SetTilesBlock 사용, RefreshAllTiles 지양, CompressBounds() 적용