I was reading this post and trying to do what Yoggy suggests but i’m having some issues.
I want draw an image as the background for my game using GUI.Label. I want my models to be drawn above it. So i’ve setup a game_objects layer and a background layer. I got 2 cameras to render each layer. But no matter what the GUI.Label is alwasy being drawn on top. I’ve attached my project to this post.
My scripting level is noob, so the script is taken from the 3D platformer tutorial
Yep, that’s the way it works. The new GUI system is fantastic for doing complicated user interfaces relatively easily, but GUITextures are generally better for game-oriented 2D imagery.
No, you don’t want to use the GUI coding system at all in this case, since it’s always drawn on top no matter what. Do GameObject → Create Other → GUI Texture. You can use layers with that.
If the scale is 0,0,0, then a GUITexture will use pixel values. Otherwise, you can set the scale to something else, and it will automatically scale without any scripting.
I sincerely hope not. They’re much too useful the way they are.