i am currently trying to get my attack animation to work, but it will not work. i have tried everything but i will not work. this is my script
if (Input.GetKeyDown(KeyCode.E)) {
animation.Play("Attack");
}
i dont see anything wrong with it, and could someone edit this for me?