Hi,
I have imported a 3d character model with some animations, and I’m having trouble accessing them via scripting. Here’s an image of the object’s inspector:
Here’s the code I’m using to access the animation:
function Update () {
animation[idle].speed = 1.0;
animation.CrossFade(idle);
}
I get the error: "Unknown identifier: “idle”, however in the inspector the animation is clearly titled “idle”. What am I doing wrong?
