jankovalsky

1 answer · asked · Lesson: Creating a UI Health Bar · Course: C# Bootcamp for Unity

Wasnt the mask unnecessary? Added scrollbar to image and it worked just fine.

Wasnt the mask unnecessary? Added scrollbar to image and it worked just fine.
  • crew

    There are multiple ways of creating a UI Health bar, another is to use the fill value of the image itself which is easier. This method was just showing a way to use masks and scrollbars together. Adding the scrollbar directly to the image can work as well.