Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

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.

Did you find this page useful? Please give it a rating: