Framing the unity

Actually I’m not sure if this a UnityGUI question at all, but that’s the closest I could think of. Anyway, I’m just a UI (web) designer and I would like to know if it is possible to add a frame (or panel) for the unity layer, a game or whatever, in a manner that this frame would be on top of everything unity puts out.

Like if I make a basic rounded corner box with html using png/gif to leave the center area transparent, and add the unity stuff in a div that is behind that box, will unity obey me and stay inside the div I assigned it to? Or can I somehow control the z-index unity uses for it’s elements?

So basically, is it possible to make custom borders for unity, so that the unity rendered content (game, models, etc) stay under it.

I hope this makes sense to someone :slight_smile:

  • Osku

No. For that sort of thing you’d want to make the frame inside Unity itself with the GUI.

–Eric

like eric said it is not possible but use GUI.Box for that thing (create a custom GUISkin and create in it a custom GUI box style)