So I have a game object with the animation component attached, with one animation file. Everything runs smoothly. Now I want to change the speed of the animation, which I am having trouble with.
The animation is marked as legacy. Here is my code:
Have you tried setting the animation speed to a value between 0 and 1? From my understanding, setting the speed to 0.5f would play the animation at half speed.