playerCharacter.AdjustHealthUI C# (CSharp) 메소드

AdjustHealthUI() 개인적인 메소드

private AdjustHealthUI ( float health ) : void
health float
리턴 void
    private void AdjustHealthUI(float health)
    {
        heart1.SetActive (health >= 10f);
        heart2.SetActive (health >= 20f);
        heart3.SetActive (health >= 30f);
    }