- Home /
Question by
jayvle · Dec 30, 2019 at 11:20 PM ·
c#animationanimations
animation.speed not working
I have a variable to control the animation speed of an animation when I set the speed manually like this: anim["ProductionAnim"].speed = 10f; It does change the speed, but when I change it like this: public float InfrastructureAnimSpeed = 10f; //some code anim["ProductionAnim"].speed = InfrastructureAnimSpeed; It doesn't change the animation speed. please help me someone.
Comment
Your answer
Follow this Question
Related Questions
Why i can't play animation clip i did ? Tried anything so far. 1 Answer
Distribute terrain in zones 3 Answers
Animations out of sync? 0 Answers
Play a second animation 2 Answers
Opening one door in a scene causes all others to open 1 Answer