Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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