Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

Health Bar UI

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

  1. killer-zog

    killer-zog

    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,044
    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
unityunity