Assets.Scripts.Player.PlayerHealth.Update C# (CSharp) Method

Update() public method

public Update ( ) : void
return void
        void Update()
        {
            HealthTextBox.text = "Health: " + _healthBehavior.Health;
            HealthImage.color = new Color(255, 0, 0, 1 - _healthBehavior.Health / 100f);
        }