文档

Unity Engine

Unity Engine

AddTileFlags(Vector3Int, TileFlags)

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

Definition

public void AddTileFlags(Vector3Int position, TileFlags flags)

Parameters

position

Position of the Tile on the Tilemap.

TileFlags to add (with bitwise or) onto the flags provided by Tile.TileBase.