- Home /
Question by
Metorphium · Nov 12, 2016 at 02:02 PM ·
c#animationspeed
Change speed of Animation or Animation Layer?
Im trying to set the speed of an Animation or Animation Layer of my Animator Controller per script.
I've researched to make a public Animation and then later on write :
NAMEOFANIMATION["Animation"].speed = SOMEFLOAT;
so far so good and no errors but i cannot assign my Animation clip into the public Animation variable. even when clicking on the small circle next to the Inspector box and selecting a Clip from there wont assign it.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612100534im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
C# Cant get correct speed value from gameobject 0 Answers
How to get and change animation speed of animator? 2 Answers
Multiple Cars not working 1 Answer