// Update is called once per frame void FixedUpdate() { if (hp <= 0) { UIManager.main.ShowGameOver(); hitPointBar.Hide(); Destroy(gameObject); } }
public void KillHPBar() { hpBar.Hide(); }