Version: 2022.2

Tilemap.SetTileAnimationFlags

切换到手册
public void SetTileAnimationFlags (Vector3Int position, Tilemaps.TileAnimationFlags flags);

参数

position The position of the Tile on the Tilemap.
flags The TileAnimationFlags to set onto the Tile.

描述

Sets the TileAnimationFlags onto the Tile at the given position.

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