Animated Tilesets in Unity

Gabriel Perez
3 min readJan 3, 2022

How to set up animated tilesets in Unity!

First, we need to download the 2D Tilemap Extras package from Unity. It contains unique brushes and tiles that have specific features. And one of them is the ability to create an animated Tile!

You can download it via Unity’s Github if you have an older version of Unity below 2020. Click on “Code” to the top right of the page and select Download Zip.

If your project is using a version of Unity above 2020, you can download it via the Package Manager. Before you go looking in there, you need to go to “Edit > Project Settings > Package Manager” and check “Enable Preview Packages.” It will allow us to see packages that were hidden from us! But for a good reason.

With the 2D Tilemap Extras installed, we can start animating our tiles!

To create an animated tile, right-click on Project panel: Create > 2D > Tiles > Animated Tile.

Name the tile whatever your animated tile will be. In my case, a waterfall.

In the inspector, we can drag and drop our waterfall tileset below the “Number of Animated Sprite.

My waterfall tile has 30 frames, so we need to make sure we set the minimum speed to 30 frames per second.

Create a new Tilemap palette and name it “Waterfalls.” Drag the animated tile to the palette window.

We can now paint waterfalls to our scene!

Having animated tiles placed in the environment adds life to the world! Consider having animated tiles where needed, but do not overdo it either.

Gabriel

--

--

Gabriel Perez

Hello everyone, My name is Gabriel Perez, I am a Unity Developer and a creator who is always learning and experimenting.