Want to watch this Lesson?

Start a free 7-day trial today. It's quick - and you can cancel anytime.

Watch course trailer Start your Free Trial
  • 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.