Want to watch this Lesson?

Join CG Cookie and gain access to 100's of Blender Courses

Watch course trailer Get Started
crew
  • Software:Unity 5.0  ·
In this lesson we'll create a simple UI health bar using a mask. This is one of many ways to accomplish this, but the concept is the same for all. We will modify the size of the mask component using a script to "hide" parts of the health fill UI to simulate loss of health.