- Home /
 
 
               Question by 
               ez06 · Jun 22, 2018 at 05:59 PM · 
                scripting problemanimator  
              
 
              How can I get an animation to loop a number of times before transitioning to another animation?
Trying to loop a looping animation 5 times before it transitions to the next animation.
Can I do this from the animator? Or does it have to be via scripting?
               Comment
              
 
               
              Answer by DeathOfAshes · Jun 22, 2018 at 07:31 PM
You could make a for loop and put the trigger of the animation in it, and once it has looped a certain amount of time, you could then trigger the next animation.
Your answer
 
             Follow this Question
Related Questions
Can I change animation key frame property in script? 1 Answer
What if-statement to choose and how to involve. 2D 0 Answers
How to rotate spine by the script, while an animation from the animator is playing? 0 Answers
How to create animations that can be edited with scripts in runtime? 1 Answer
2d Character runs in place via animator 0 Answers