Version: 2021.3
public void FloodFill (Vector3Int position, Tilemaps.TileBase tile);

参数

position Tilemap 上灌填的开始位置。
tile Tile to place.

描述

Does a flood fill with the given Tile to place. on the Tilemap starting from the given coordinates.

请参阅可编程瓦片瓦片地图以了解更多信息。