Texture animated round circular bar

I’m struggling to create a circular bar with an animated texture and a round cap end. What I would like to create is implemented in the Unity game 124141-capture.png The problem is that I don’t know how to animate texture with the round end. I can fake it with basic colors but I need it to have animated texture. It is possible to make this using shader because i hadn’t tried that. Or are there maybe some assets in the store?

this could be done easily with multiple gameObjects. you would put the background texture on one object, then you would make the other object with the moving part of the texture on a seperate object that is slightly in front of the first. then simply rotate the second object for movment