Unity Tilemap Obtenha todos os azulejos

foreach (var position in tilemap.cellBounds.allPositionsWithin) {
            if (!tilemap.HasTile(position)) {
                continue;
            }
 
            // Tile is not empty; do stuff
        }
Quaint Quagga