How to play an animation x times?

Dear Friends I need a little help. I created an animation controller with some animations related to a gymnastics workout (squat, plank etc.). How can I make an animation play for example 10 times (10 squats etc.) and then move on to the next animation? is it possible to do this from the animation controller? I’m a beginner as a developer … Thanks in advance for any useful suggestion you want to give me
Thanks Mauro

I would make an integer and keep track of the animation state being played in a loop, each time it finishes increase the integer and then when the integer is at 10 have the function you want execute and then reset everything.

You’ve cross-posted this same question six times. Please do not cross-post like this to try to get attention to your problem. Please find the most appropriate forum and post there only.

I’ll delete your other posts.

Thanks.

3 Likes