Search Unity

Can gui boxes be used without the box?

Discussion in 'Scripting' started by glom1envisage0, Oct 18, 2011.

  1. glom1envisage0

    glom1envisage0

    Joined:
    Apr 3, 2011
    Posts:
    167
    I have some gui items displayed like health and item counter that I've placed in gui boxes. Using the boxes works well because I can put them in the corners of the screen, irrespective of the resolution but I was wondering if the transparent box could be made invisible leaving only the image and text visible? If not, what would be another way of have gui content on the screen?
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Use GUI.Label. Also you can use a GUISkin to skin a GUI however you want.

    --Eric
     
  3. glom1envisage0

    glom1envisage0

    Joined:
    Apr 3, 2011
    Posts:
    167
    I did a quick search and replace and sure enough the boxes are gone! thanks.