Version: 2022.2
LanguageEnglish
  • C#

TileAnimationFlags

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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

Properties

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.