I am trying to apply damage to the player I got this error. error CS1525: Unexpected symbol (12,61)`’ .
using UnityEngine;
using System.Collections;
using Opsive.ThirdPersonController.Wrappers;
using UnityEngine.UI;
public class damaging : MonoBehaviour {
public GameObject Player;
private health HealthScript;
void Awake () {
GameObject Player = GameObject.FindWithTag("Player");
HealthScript = Player.GetComponent<Health>();
}
void Damage () {
GetComponent().Damage(5, Vector3.zero, Vector3.zero);
}
}