Hi there,
I have a tilemap and want to attach a script to certain tiles, so I use a sprite as a prefab. That's fine. But if I want to have the same script running for different looking tiles, so I have to make a prefab for each one of them and change the sprite. It would be nicer, if the sprite could just use the image I chose from the tilemap spritesheet, but that doesn't seem to be possible at the moment.
Is there another elegant way to do it? Thanks a lot.
Greetings,
Pfaeff