Version: 2023.2

TileAnimationFlags

enumeration

切换到手册

描述

Options for flags controlling behavior for a Tile Animation on a Tilemap.

变量

NoneSets no TileAnimationFlags and the Tile Animation will run normally.
LoopOnceLoops the Tile Animation once, then stops on the last Sprite of the animation.
PauseAnimationPauses the Tile Animation, stopping it from running.
UpdatePhysicsUpdates the Physics Shape in the TilemapCollider2D whenever the Tile Animation switches to the next Sprite in the animation.
UnscaledTimeWhen true, the unscaled time is used to run the Tile Animation. Otherwise, the scaled time is used to run the Tile Animation.