몬스터 hp 비활성화
This commit is contained in:
parent
2011acc946
commit
3e67f4e89e
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue