示例#1
0
文件: BaseTower.cs 项目: Juutis/AKJ9
 // Update is called once per frame
 void FixedUpdate()
 {
     if (hp <= 0)
     {
         UIManager.main.ShowGameOver();
         hitPointBar.Hide();
         Destroy(gameObject);
     }
 }
示例#2
0
 public void KillHPBar()
 {
     hpBar.Hide();
 }