I have two sprites (they look the same but with different colors):
I want them to be positioned like on the image above, so there's a feel like blue is standing on the green one. There are two ways to achieve that:
- Blue block with
Order in layer 1, Green block with
Order in layer 0
- Blue block with lower
Z coordinate, so it's physically in front of the green one.
Both of the concepts appear to break batching between these two objects. They're on the same atlas (I've tested it by setting the same Z position and Sorting Order and batching works).
How can I achieve batching here?