How can change the Legacy animation speed in a script on Unity 5.
I know Unity changed a little bit of coding. I am new on Unity 5.
In Unity 4 was animation[“animation name”].speed = 0.5;
private var anim : Animation;
function Awake () {
anim = GetComponent.<Animation>();
anim["animationName"].speed = 2.0;
}