文档

Unity Engine

Unity Engine

AddTileAnimationFlags(Vector3Int, TileAnimationFlags)

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

Definition

public void AddTileAnimationFlags(Vector3Int position, TileAnimationFlags flags)

Parameters

position

The position of the Tile on the Tilemap.

TileAnimationFlags to add with bitwise OR (
|
) onto the flags provided by Tile.TileBase.