Hello, I have some premade UI Elements that are drawn on the screen:
These are drawn on a canvas.
The black lighting at the bottom of the screen is drawn using GUI.DrawTexture(), in the OnGUI() method:
And I am having an issue with render order. Other solutions suggest using GUI.depth however setting this in the script that has my OnGUI() method doesn’t affect the draw order of the premade UI Elements and I am still left with the UI Elements being drawn before the texture.
I would like this to be the inverse where the windows are drawn on top of the texture, rather then behind it.
Any Ideas?