I need to mix my sprites and my 2d meshes in a way that the layer system basically doesn’t differentiate them, I can specify layer groups like Foreground, Background etc and order in layer attributes inside those groups. Doesn’t dfferentiate means if I make a SpriteRenderer_first
’s order in layer 2, MeshRenderer_second
’s order 1 and SpriteRenderer_third
’s order 0, I see them in the appropriate order: first, second, third, so it doesn’t matter if they are meshes or sprites, the order controls it all.
Now , I have seen former posts like this offering some simple code but I’d like to know if, using Unity 5.6.2f1, this has changed, meaning I don’t have to code for this?
Or if I have to code, how to mix mesh and sprite renderer’s layer order like I told?
Thanks in advance.