How can I place my GUIButtons drawn with the OnGUI function, behind some GUI Textures in my Scene, this is very frustrating
as I have my mouse set to a GUITexture as a custom cursor and it appears behind my buttons despite having a very high Z axis Value
Thanks Guys
Use GUI.DrawTexture for custom cursor and use it at the very end of OnGUI function, after all buttons have been drawn, and that will appears on top.
You can place the texture at:
Input.mousePosition.x - Texture.width/2, Screen.height - Input.mousePosition.y - Texture.height/2