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

Parameters

gridLayout Grid used for layout.
brushTarget Target of the flood fill operation. By default the currently selected GameObject.
position Starting position of the flood fill.

Description

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