Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

error CS1525: Unexpected symbol `'

$
0
0
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(); } void Damage () { GetComponent().Damage(5, Vector3.zero, Vector3.zero); } }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>