Help wtih my script

Help me with this script

using UnityEngine;
using System.Collections;

public class Animation : MonoBehaviour {

Animator anim;

int attack = Animator.StringToHash(Attack)

	void Start () {

	anim = GetComponent<Animator> ();

	void Update () {


	private void HandleInput(){

	if (Input.GetMouseButtonDown (0)) {

		anim.SetTrigger (Attack);



Unity says: error CS1519: Unexpected symbol `void’ in class, struct, or interface member declaration

Your problem is here

int attack = Animator.StringToHash(Attack)

You missed the semi-colon at the end of this line.

So it should look like this

int attack = Animator.StringToHash(Attack);

Also, the line will not compile because Attack is not a string, you need to surround it in quotes.

int attack = Animator.StringToHash("Attack");