public void UpdateHealthText() { if (health.value <= 0) { reloadScene.Raise(); return; } _myTextComponent.text = ""; for (int i = 0; i < health.GetInt(); i++) { _myTextComponent.text += heartSymbol; } }