- Home /
Get sprites from tile palate while using custom tile prefab brush
I have a bit of an issue I'm trying to resolve, and I'd appreciate some help on it, if people can.
I want to make an engine to run top-down strategy games, style Fire Emblem. For that, I figured I could use the Tilemap system to create a brush that paints me prefabs (Mostly so I can fill them with custom data rather than just imagery), and instead of giving each prefab its own image, I could use the brush palate to get the sprite I want when I instantiate the prefab.
However... When I checked, I couldn't find for the life of me how to get the selected tile from the palate during the Paint method override. Does anyone else know how to go about it? It'd be a huge help to be able to paint using both a prefab generator and the tile palate.
Thanks in advance!
Your answer
Follow this Question
Related Questions
Remove a single tile from a tilemap 1 Answer
TILE MOVEMENT 0 Answers
How to stack components on a Tile/Tilemap 0 Answers
Unity crashes when erasing tiles on a tilemap and entering those empty tiles. 0 Answers
Grid and or Tile System 0 Answers