Пример #1
0
 private void CheckIfGameOver()
 {
     if (playerStat.health <= 0)
     {
         //Bring up the canvas to either reload or quit game
         inventory.ActivateDeathCanvas();
         isDead = true;
     }
 }