void Update() { if (thePlayerHealth.playerHealth < 1) { StopAllCoroutines(); StartCoroutine(thePlayerHealthBar.Fading()); } }
void Update() { if (thePlayerHealth.playerHealth < 1) { StopAllCoroutines(); StartCoroutine(thePlayerHealthBar.Fading()); } }