Sprite Layers query - grouped layers?

Hello!

So this is more of a query then anything else. I’ve been using Unity to create characters made of multiple different Sprites and they are stacked on different rendering layers in Unity.
However I need to know if there’s a way to “group” them so the entire character renders as one object. For example if two characters were to pass each other in front of the camera, the camera would only render the pieces on the front layers.
This might be easier to explain via example;

So here I have two versions of the Player Character. In the scene the player on the right is in closer to the camera then the player on the left. However because they share render layers they do this;

So what I’m essentially asking is if there’s a way to group sprites on these layers into a single layer, so that the characters may pass each other without coming out like some freakish monstrosity. The aim is so that my characters are 2D and can run around in 3D, as I’m trying to create a very “sketchbook” style of game.
Any help whatsoever is appreciated!!

Yes, you need to group them into a base object. The UGUI renders in the order of the objects in the hierarchy, so if they are grouped into a single parent object, those objects would be evaluated and rendered separately.

Although from your post, it kind of sounds like you are doing this already…? Can you post a screenshot of your hierarchy view?