public void SetPlayerHealth(int value, int max) { playerHealthBar.SetValue(value); playerHealthBar.SetMax(max); }