몬스터 hp 비활성화

This commit is contained in:
Ino 2026-01-16 13:53:55 +09:00
parent 2011acc946
commit 3e67f4e89e
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ public class HUD_HP : MonoBehaviour
public void Set(int hp) public void Set(int hp)
{ {
t_hp.text = hp.ToString(); t_hp.text = hp.ToString();
gameObject.SetActive(hp > 0); //gameObject.SetActive(hp > 0);
gameObject.SetActive(false);
} }
void Update() void Update()