How To Add “Tiles” To Your Tilemap In Unity

This article directly coincides with my previous two articles which can be found at the links below. I highly recommend reading them before reading this one.

Assuming that you followed along with my previous articles, then you are now ready to add your new “Tile Sprites” to your “Tile Palette”.

To do this, you must first create a “Tilemap” to build on. Simply right-click in the “Hierarchy” and select “2D Object>Tilemap>Rectangular”.

When you do this, Unity will automatically make a “Grid” object to put your new “Tilempap” under. Similar to how every UI component needs a Canvas, every Tilemap needs a Grid.

Also, notice that the “Active Tilemap” section in the “Tile Palette” editor window automatically updates to be the new Tilemap. This happens because you went from having no tilemaps to having one. It will not automatically update after the first.

Next, you’ll want to create a new “Tile Pallete” to add your sprites to.

You can name this whatever you like. Just make sure that set the grid to “Rectangular” as that is the type of grid we are currently using.

You should also create a new folder in your project menu to save this new tile palette to.

Now just drag and drop your tile sprites into the “Tile Palette” editor window.

You can do this with the parent object to keep them organized within the Palette.

Similar to how you created a separate folder to hold your “Tile Palette’s”, you will want to create another separate folder to hold your newly created “Tiles”.

And there you go! You now have a list of tiles that you can paint in your scene!

Check out my next article to see how to utilize the various tools in Unity’s “Tile Palette”!

--

--

--

Hi, my name is Adam Reed and I am a software engineer specializing in Unity and C# development. Feel free to scroll through and check out some of my work!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Recover a MariaDB Galera Cluster after a Full Crash

1. A guide to implement a simple C++ STL: Allocator

🐳 Deploy Docker 1.13 Swarm mode Stack

Swift. Generics

Minimizing the Digital Skill Gap

Write clean and testable code with TDD (Test Driven Development)

The Hitchhiker’s Guide to Waterloo SE — Chapter 1A

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam Reed

Adam Reed

Hi, my name is Adam Reed and I am a software engineer specializing in Unity and C# development. Feel free to scroll through and check out some of my work!

More from Medium

Animated in Akiba — An Otaku Fairy Tale

Where Stephen Colbert Fits in the Two-Step Flow Communications Theory

What Would You Call a Roguelike with Language Elements?

Return of the Amazon Queen