- Home /
Question by
JeevanjotSingh · Jun 19, 2015 at 07:11 PM ·
animationunity 5unity5getcomponentspeed
How to change animation speed in Unity 5
Hello Everybody , I just want to know how can i change animation("animation_Name").speed in unity 5 using Getcomponent<>() , I tried GetComponent().speed , but it's now working . how do i do that , thanks .
Comment
maybe this will help?
yourmodel.animation["Idle"].speed = animationspeed;
This of course only works if there is an animation component on your model.
It's working thanks. It works in unity 5 like this .
GetComponent<Animation>["A_N"].speed
Your answer
Follow this Question
Related Questions
How can i Learn Basics of Rain AI 1 Answer
After the build, the object is no longer a childs of another objects 0 Answers
Unity SpeedTree and dense forests? 0 Answers
What is the diffrence between Reference and GetComponent ? 1 Answer
How to change animation speed within Animation Controller? 1 Answer