I have an animation that I want to play on a sword in my game but I keep getting these two errors:
The AnimationClip ‘sword’ used by the Animation component ‘Sword’ must be marked as Legacy.
Default clip could not be found in attached animations list.
also this is my Javascript code:
#pragma strict
function Update () {
if (Input.GetButtonDown("Fire1"))
animation.Play("sword") ;
}
Update: This is also happening with other animations that are not attached to a script.
– Reafy