PlayerAttack.cs script cs1525 error

Hello, i’ve got a problem withy my PlayerAttack cs script from burg zerg arcade tutorial. It says that i use unknown symbol “private”

using UnityEngine;
using System.Collections;

public class PlayerAttack : MonoBehaviour {
public GameObject target;

// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {
if(input.GetKeyUp(KeyCode.Z)) {
Attack();

}
private void Attack() {
EnemyHealth eh = (EnemyHealth)target.GetComponent(“EnemyHealth”);
eh.AddjustCurrentHealth(-10);
}
}

there is something wrong in private void Attack line plz help

count your brackets, there is missing one.
unity points to the ‘private’ variable because the fault occurs before it.

Thank you!! i was only missing a bracket and input should be Input :slight_smile: thx for help