Version: 2018.2
public void FloodFill (GridLayout gridLayout, GameObject brushTarget, Vector3Int position);

Parameters

gridLayout Grid used for layout.
brushTargetTarget of the flood fill operation. By default the currently selected GameObject.
positionStarting position of the flood fill.

Description

Flood fills tiles and GameObjects starting from a given position within the selected layers.