I'm setting up a 2D arena game, and I'm trying to implement an ability for tilemaps to be highlighted (on hover). I've already managed to get a Vector3 of the hovered tile using rays and WorldToCell, but I don't know how to actually "highlight" the tilemap by creating a border around it. Is this possible or am I going to need some other sprite that has a highlighted version of the tile? Here's my layout now:
Create an sprite object that is the highlight. Make sure the location of the object corresponds to the center of the object. Then set its position as CellToWorld, using the WorldToCell result you already have.
This is the easiest way to do this. There would be another way using tiles themselves, but that is more complicated and honestly, you don't really need anything more complicated than this, since only one tile will be highlighted at a time.