// Win coroutine -- called when the player beats the game.
        IEnumerator Win()
        {
            // Change the Game Over text to victory text (displayed by GameOverManager script).
            gameOverText.text = "You Survived! Waking Up...";
            // Wait a moment, then reload the scene using RestartLevel function.
            yield return(new WaitForSeconds(5.0f));

            playerHealth.RestartLevel();
        }