To sum it up, I'm making a level generator that will instantiate chunks of the level at a time. Each time a chunk is instantiated, I need to be able to access all of the 2D tiles in the chunk so I can correct for random rotations that are made to the overall chunk.
There are going to be A LOT of tiles being used in the overall level, so I'd like to make use of the sprite batcher. As the batcher commits, though, any scripts on the 2D tiles that make up the level chunk get deleted and thus nullifying the ability to make rotational corrections.
I was thinking it would be great if I could commit the batcher once all the 2D tiles have been modified, but I'm not finding any information on the subject.
Is this just not going to work?
Thanks,
Gerald