public void ResumeGame()
 {
     paused = false;
     PlayerStatus.GetComponent <Player2DController>().paused = false;
     SaveStats.ResetHealth();
     UI_GameOver.SetActive(false);
     Time.timeScale = 1.0f;
 }
 void RunGameOver()
 {
     SaveStats.ResetHealth();
     DeathPrefSet     = true;
     MainComment.text = "Game Over";
     comment.text     = GameOverComment(d);
     Time.timeScale   = 0.0f;        //Pauses the game
     UI_GameOver.SetActive(true);    //Makes Gameover UI visible
 }