I'm trying to create a fade out/in overlay when I switch levels. I'm creating a UITexture object in a script and giving it a black texture with alpha 0, and then fade to alpha 1. The UITexture object has it's depth value set to 100 and it's Z position to just before the camera Z.
As I expected, the texture covers everything on the screen, except the UILabels. (FYI - dynamic font in case it matters).
The UITexture is not using the atlas. The UITexture has a lower Z value than any of the labels. It has a higher depth. It's been in its own panel, or the same panel as the labels - makes no difference. I guess I could add another 2D camera and have it on top of everything, but I'd rather not do that unless it's the only option.
The UITexture will cover up a button's background image, but the label is drawn after the texture. Any other ideas on how to correct this?
Thanks
FC