Cannot find LoopSprites

I have added a java script to my player to make it go forward or backward.

Now I need to link the script with the sprite textures in my project, so they get automatically updated when player moves.

I need to do this in the LoopSprite Option of the Player inspector window but I cannot find it.

Is it the material where I have to change?

There were errors in script found the problem.

Thanks.