示例#1
0
 void DeathCheck()
 {
     if (this.m_health <= 0)
     {
         this.m_health = 0;
         UpdateHPBar();
         this.isDead = true;
         characterAction.Dead();
     }
     else
     {
         UpdateHPBar();
     }
 }