Tilemap.SetTileFlags

public void SetTileFlags(Vector3Int position, Tilemaps.TileFlags flags);

Parameters

positionPosition of the Tile on the Tilemap.
flags TileFlags to add onto the Tile.

Description 描述

Sets the TileFlags onto the Tile at the given position.