Scripts with the new tilemap thingo?

So I saw the video for how to make a tilemap and used the thing to make a level really fast but the thing is since it’s tiles on layers and therefore everything on a layer is a collider/trigger if you attach the script to that tilemap right?

I’m trying to work out how do you link a script only to one object since theres nothing like a prefab that you’d normally attach scripts to?

Do you really need a whole extra tilemap for a single object with unique code?

I tried making prefabs of what I wanted to add scripts to but then vertex snapping wasn’t working because tilemaps aren’t something it can snap to :frowning:

Anyone able to help?

Sorry you haven’t had any feedback, I’ve seen your post and mostly think I know what you’re talking about. I have, however, never used the new tile system, so I have no experience to help you with. Hopefully someone can help you out.
The tilemap does seem very cool, maybe someday I will use it.

Perhaps the manual can help you out? Unity - Manual: Tilemaps

Not really :frowning: since there’s no tile in the scene hierarchy to attach the script file to I can’t work out any other way to make unique items with scripts on them other than a whole tilemap for a single tile.

Sorry, hope you get some assistance :slight_smile:

So anyone know? 7 weeks since I posted and noone seems to know the answer

havent used it much either, try digging into these examples, if they have something related:

https://github.com/Unity-Technologies/2d-extras
https://github.com/Unity-Technologies/2d-techdemos