This time to talk about Unity3d Ngui this plug-in learning, this plug-in is charged, not over the Internet can be downloaded a lot of available versions. Used to make user's interactive UI, learning is relatively simple.
The first step is to import the Ngui package Http://pan.baidu.com/s/1mhKaoha
After importing the Unity toolbar, you'll get a choice about Ngui.
The second step, start looking at some examples, analyze some examples, because the general learning plug-in is downloaded after the example of others to do can learn.
Take a look at an example
And here's a look at the above progress bar.
When the button contains a few scripts, this effect is achieved
After that, it is possible to control the display by implementing a script to control the progress bar, to control the effect of the blood bar.
Here to make a blood bar, first create two blood bars, and then one is the background blood tank is the amount of blood that is being used
Create two Game objects, add UI sprite scripts by default, and then add a UI slider component to the background blood slot
Specifies that a background layer and a layer being used can control the amount of blood through value.
Unity3d Ngui Study (a) blood strips