文档

Unity Engine

Unity Engine

SetTileFlags(Vector3Int, TileFlags)

Sets the TileFlags onto the Tile at the given position.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void SetTileFlags(Vector3Int position, TileFlags flags)

Parameters

position

Position of the Tile on the Tilemap.

TileFlags to set onto the Tile.

Remarks

Refer to Scriptable Tiles and Tilemap for more information.