Many sprites and labels in one GO

We have a GO with many sprites inside:

But in the game we see only one sprite - bkg - fnd other components isn’t visible.
What we doing wrong?

Could the Z values for the positions be too high?

Hmmm… this very strange… Z is 1 for each component.
But!
If z of entire GO in collection = 1, then GO isn’t visible.
If z = 0, then all is ok.

The final depth of a component depends on the z-value of the game object it is attached to and the aggregated z values any parent game objects. So, if your game object has a z-value of 1 and the sprite has a z-value of 1 then the the resulting z-value will be 1+1 = 2. And if the game object had a parent go on z = 2 then the final z-value would be 2 (parent) + 1 (go) + 1 (sprite) = 4

And the default render script has a z-value range of -1 to 1, meaning that any component that falls outside that range will be excluded.

2 Likes