// Update is called once per frame void Update() { health = PS.Chp; healthBar.maxhealth(PS.Thp); healthBar.sliderhealth(health); cointext.text = ("Coins Collected: " + coin.ToString()); }
// Update is called once per frame void Update() { health = PS.Chp; healthBar.maxhealth(PS.Thp); healthBar.sliderhealth(health); cointext.text = ("Coins Collected: " + coin.ToString()); }