// RestartGame() funtion Restarts the game.

    public void RestartGame()
    {
        HomeScreenManager.StopAudio();
        SceneManager.LoadScene("Play");
    }
 void Awake()
 {
     instance = this;
 }