If i want to play a clip forward or backwar in old system, it’s easy to do.
void Update () {
if (IfMouseClickOn ()) {
anim [“door1”].speed = Input.GetAxis (“Mouse X”);
anim.Play (“door1”);
} else {
anim [“door1”].speed = 0;
}
}
the code above means that if i move mouse from left to right, the clip will play forward with the same speed as my mouse, vise versa(play backward).
The question is, in mecanim system, we can no longer use anim[“”].speed=-1 to controll it. It’s seems
i need to do something with “AnimationRecord”? im not sure and a little confuzed.