Arrow Key-Based Attacks

Would appreciate if I could get even small snippets of code or hints towards using arrow keys to trigger attack animations.

Tons of staff on youtube. you should check it out

Here you go:

//Assign Animator
public Animator anim;

void Update()
{
//Check if you pressed the "Right" arrow
if(Input.GetKeyDown(KeyCode.Right))
{
  //Set the Trigger Parameter in the animator to true
  //For one single attack I like to use Triggers because the give automatically a "false" back other than booleans that you have to set back manually
  anim.SetTrigger("Attack");
}
}