I want to make a login form and form’s background image.(not a box, entire background image)
I made a button and box by GUI.Box and GUI.button. After the work, I make a GUI Texture on editor.
On a script I set the value like this.
GUI.DrawTexture(new Rect(0,0,Screen.width,Screen.height),backimg,ScaleMode.StretchToFill,true)
Then I set the image what I want to use form’s background image. And make another camera, setting depth -1 and main camera’s depth 1. Both of camera’s clear flag is Depth Only.
But the image cover the login form. I want to show the image on a most backward.
Please help me!!