Alright so Basically I got this small error and im not sure how I would end up fixing it.
Assets/Player Scripts/PlayerHealthScript.cs(19,118): error CS1525: Unexpected symbol }', expecting
)‘, or `,’
Below is the full code I used
using UnityEngine;
using System.Collections;
public class PlayerHealth : MonoBehaviour {
public int maxHealth = 100;
public int curHealth = 100;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnGUI() {
GUI.Box(new Rect(10, 10, Screen.width / 4 / (maxHealth / curHealth), 20), curHealth + "/" + maxHealth ;
}
}