TextureModifier rework
Texture Modifier is one of my least favorite modifier in the SDK at the moment. I think I rushed it back when I originally created that and couldn't get back to fix it. Here's the issue;

First of all, we're trying to work on an abstract level and this modifier clearly is not. TopMaterials & SideMaterials is a bad way to do it and obviously targeted at a certain type of entities; polygons with height. And that kinda assumes your side walls will be a second submesh as well. But what if your structure is all different? what if you have a very complex feature with 20 submeshes?
My short term solution is just taking a step back and simplifying this to something like;

that one has a list of materials and depending on the submesh count, it'll just add materials from that list to object. So if you have 20 submeshes, you can add 40 materials there, first 20 will be assigned to object. This removes everything like top, side etc as well. This assumes you know which submesh you have at which index but these are features you create in mesh generation system so I think it's a fair assumption. One thing that shot is lacking is randomization. It'll just assign that one material to one submesh. I'll try list of list as well, that would solve this issue (but might be a UX nightmare maybe?).
this will also break all demos and working projects and will require materials to be reassigned into that list. Shouldn't take more than 5 minutes even for the biggest projects though.
oh an actually, while we're at it; what if we rename it to "material modifier"? That's a much better name but renaming will actually break even more stuff and people will need to recreate asset and assign materials etc. But even with that, it's a 15 minute work or something.
We probably should keep but deprecate current implementation, add an info box with a link to a document showing how to upgrade to new "Material Modifier" etc.
just finished this and will be testing next few days/weeks. No need to rush this for 1.2.0 release I believe.
Would love to get some feedback on this. Does it look intuitive? Can you think of any cases where it might not be enough?
As always I lost that first version I did above and had to do it again from scratch. Pushed it on https://github.com/mapbox/mapbox-unity-sdk/pull/292 this time, you can try it out there.
@brnkhy can you close this ticket if #292 closes it? 👍
@MiroMuse ah yes we merged this 👍