How to use AnimationInfo.clip

AnimationInfo.clip

How can i use it?

When i place it inside a Unityscript It just gives me an error message: “Unknown identifier: ‘AnimationInfo’.”

I believe it contains info regarding the current animation being played back, so you have to fill it first. Most likely a call to animation playback returns this.

Show your code and then we can help more.