PlayerCollision.UpdateDamageText C# (CSharp) Method

UpdateDamageText() public method

public UpdateDamageText ( ) : void
return void
    void UpdateDamageText()
    {
        if (health < 0) {
            health = 0;
        }
        healthText.text = "Health: " + health;
    }