SpriteAnimation
The animation of a Tile changed.
Read time 1 minuteLast updated 16 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Tilemaps
- Assembly: UnityEngine.TilemapModule
SpriteAnimation = 2
Remarks
The Tilemap reports a new animation frame only when the animation has TileAnimationFlags.UpdatePhysics, because the frame changes the Sprite the Tile collides with. It reports the frame together with TileChangeReason.Replaced.