I'm having a bit of trouble wrapping my head around this.
So far, I have been using Unity's system to take a spritesheets and chop it up into sprites, then then take each of those sprites, attach a bit of code to them and turn them all into prefabs. Separate from that, I have 2dtk pull the same spritesheet into a sprite collection, and I use that sprite collection to create a tile map that I can design my stages with. My final step is to go to the "data" part of the 2dtk tile map and connect the prefabs I made in Unity to the corresponding tiles, so I can design the stages with my actual prefabs.
This works, but I'm trying to move away from using Unity's system to deal with the spritesheets / sprites. Ideally I want to just manage my spritesheet in a 2dtk sprite collection and use those pieces to create my prefabs.
I guess I'm just struggling figuring out the easiest way to use 2dtk to create all of those prefabs that I will be linking into the "data" part of the tile map. If I understand what you're saying (and I'm not sure that I do), I would create a spriteless prefab and then determine which sprite gets attached to it with SetSprite("name"), or something along those lines? And to get all 100 prefabs, I'd need to do that 100 times? Or am I missing something easier here?
Is there a tutorial on SetSprite anywhere?