I have multiple tilemaps in my map. One for the visual map, one where I draw the collisions and one where I mark areas that are deadly (such as spikes).
I would like to attach a script to the whole death tilemap, that kills whatever touches it. Sadly, this does not seem to be possible since there is no function or check that works on the tilemap and can check whether anything is touching it.
I do not want to find out if a specific tile inside a tilemap is being touched. I want that whenever anything touches any part of that tilemap, a script runs. Is there any good solution to this?