Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Health Bar UI

Discussion in 'Immediate Mode GUI (IMGUI)' started by stunriver, Mar 5, 2010.

  1. LazerTale

    LazerTale

    Joined:
    Apr 10, 2013
    Posts:
    6
    i am new to this, so dont mind, but can you upload an downloadable demo.... just a simple demo with health bar. thanx in advance....
     
  2. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hey! I've tried to solve this problem with classic Unity GUI and I think I did well :) Check out the demo slide 7. Done with 2 at least textures (background and bar) and no nibble effect at the edges.

    Textures:

    Result:

    On top of that you can change color dynamically, fill direction, and add some neat effects :) You can find the asset here.
    Edit: due to asset store failure the asset will be not available for a few days :-(
    Edit2: everything is back to normal :)
     
    Last edited: May 6, 2013