private void Start()
 {
     currentUIGameState         = UI_GameState.activeGame;
     endGameScoreText.enabled   = false;
     endGamePromptText.enabled  = false;
     endGamePromptText2.enabled = false;
 }
    private void Update()
    {
        if (currentUIGameState == UI_GameState.activeGame)
        {
            return;
        }
        if (currentUIGameState == UI_GameState.endGameStart)
        {
            if (Input.anyKeyDown)
            {
                PresentEndGameScore();
                endGamePromptText2.text = "Tap to save score!";
                GameObject.FindObjectOfType <GameManager>().GameOverTrigger();
                currentUIGameState = UI_GameState.endGame;
            }
        }
        if (currentUIGameState == UI_GameState.endGame)
        {
            if (Input.anyKeyDown)
            {
                GameObject.FindObjectOfType <CardManager>().SpeedUpEndGameScore();
                currentUIGameState = UI_GameState.none;
            }
        }

        if (currentUIGameState == UI_GameState.highScore)
        {
            if (Input.anyKeyDown)
            {
                currentUIGameState = UI_GameState.none;
                GameObject.FindObjectOfType <GameManager>().TriggerHighScore();
            }
        }

        if (currentUIGameState == UI_GameState.gameOver)
        {
            if (Input.anyKeyDown)
            {
                RestartGame();
            }
        }
    }
 public void EnableHighScore()
 {
     currentUIGameState         = UI_GameState.highScore;
     endGamePromptText2.enabled = true;
 }
 public void PresentEndGame(string prompt = "Out of Moves!")
 {
     scoreText.enabled  = false;
     currentUIGameState = UI_GameState.endGameStart;
     SetEndGamePrompt(prompt, true);
 }
 void TriggerRestart()
 {
     currentUIGameState = UI_GameState.gameOver;
 }