示例#1
0
 void CheckForDeath()
 {
     if (health <= 0)
     {
         //die
         uiScript.LoseGame();
     }
 }