How to make an animated strip of lives in Unity?

How to make an animated strip of lives in Unity? That is, if you change the number of lives the strip is longer or shorter smoothly.
June 8th 19 at 17:30
2 answers
June 8th 19 at 17:32
Solution
To write a script that changes the length of the strips of each frame until it reaches the current value.
How can I reduce the strip from one side? - sadie_Rowe commented on June 8th 19 at 17:35
, it is necessary to reduce it from two sides, and move one half. - Alize_Moen commented on June 8th 19 at 17:38
June 8th 19 at 17:34

Find more questions by tags C#Unity Game Engine