Display GuiTexture in front of Gui.DrawTexture


I have a GUI that needs both:

  • GuiTextures for clickable GUI items (OnMouseDown())
  • The “new/current” GUI-Systems methods for drawing (rotating) textures (Gui.DrawTexture())

Now I have the problem, that the GuiTextures are allways behind the textures drawn from the GUI-System. How could I change that?

OnGUI is always on top and this can’t be changed. GUIElements and OnGUI don’t really mix; you should use one or the other.