Character portrait

Alright i know this question was probably asked before and answered with an extensive reply on this forum some wheres but i havent seen it yet and i dont have much to to forum surf. I already looked through the gui wiki and learned how to create scrollbars and textboxes and add my own custom textures to them. But if I wanted to create a bordered box with a pic of a character inside(head and shoulders) how would i do that? Would I put a custom texture on two boxes then overlap them to create the desired effect? Im sorry for not searching over the net for the answer but im kind of tight on time, thx all!

It would have taken you less time to find the answer in the documentation that it’s taken for someone to post a reply… but the simple answer is that the GUI.Box() (or GUILayout.Box()) is a box-shaped GUI control. Any of the visible GUI controls can take a Texture image argument to display as their content, so that should be a good starting point. And if you don’t like the look of the standard box control, you can create your own look by supplying a custom GUIStyle.

Check the scripting reference on those functions/classes, and read the GUI Scripting Guide section of the manual for more details. If you take the time to read the documentation, and then come back with specific questions, you’ll probably get prompter feedback.