FloodFill(GridLayout, GameObject, Vector3Int)
Flood fills data onto a grid given the starting coordinates of the cell.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.TilemapModule
public virtual void FloodFill(GridLayout gridLayout, GameObject brushTarget, Vector3Int position)
Parameters
Grid used for layout.
Targets of flood fill operation. By default the currently selected GameObject.
Starting position of the flood fill.
Remarks
Flood fill all the cells that are logically connected with the starting position.