Legacy problem

var Attack : AnimationClip;
function Update()
{
if (Input.touchCount == 1|| Input.GetButtonDown(“Fire1”)) {
animation.Play(“Attack”);
}
}
This is my script I have it attached to GameObject which has animation component
And says
The animation state Attack could not be played because it couldn’t be found!
The AnimationClip ‘Attack’ used by the Animation component ‘Mace’ must be marked as Legacy.
I have the mace Import as legacy but i dont know how to set as legacy The clip. Everywhere says in rig tab, but WHERE it is? I am probably totaly blind but I am wathing hour to computer but nothing. Please help me

  1. Go to the animation in your Project.
  2. Go to the top right corner in the inspector and click “Debug” in the drop down menu.
  3. Go to “Animation Type” and put 1 there.