This version of Unity is unsupported.

Tilemap.FloodFill

public void FloodFill(Vector3Int position, Tilemaps.TileBase tile);

Parameters

positionStart position of the flood fill on the Tilemap.
tile Tile to place.

Description

Does a flood fill with the given tile to place. on the tile map starting from the given coordinates.