- Home /
 
How to change sprite animator speed through text? [2D]
Hello, I am trying to change the speed of an animation that is part of an animator controller as it is the players attack which can be different depending on your attack speed.
This doesnt work as there is no animation component on the player, just the animator:
 animation["Animation name"].speed = 0.5;
Can anyone help?
Oh all the coding is in C#
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How to use the animator in children (C#) 1 Answer
Distribute terrain in zones 3 Answers
Rays and tags help? 1 Answer
Fading To New Scene Problem? 1 Answer