FloodFill(GridLayout, GameObject, Vector3Int)
Flood fills data onto a grid given the starting coordinates of the cell.
阅读时间1 分钟最后更新于 1 个月前
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.