Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TileAnimationFlags

Options for flags controlling behavior for a Tile Animation on a Tilemap.
Read time 1 minuteLast updated 5 days ago

Definition

[Flags]public enum TileAnimationFlags

Fields

Value

Description

LoopOnceLoops the Tile Animation once, then stops on the last Sprite of the animation.
NoneSets no TileAnimationFlags and the Tile Animation will run normally.
PauseAnimationPauses the Tile Animation, stopping it from running.
SyncAnimationWhen set, this will sync the start time of this Tile Animation with other Tile Animations that are the same.
UnscaledTimeWhen true, the unscaled time is used to run the Tile Animation. Otherwise, the scaled time is used to run the Tile Animation.
UpdatePhysicsUpdates the Physics Shape in the TilemapCollider2D whenever the Tile Animation switches to the next Sprite in the animation.