private IEnumerator StartTraining()
    {
        EndUI _endUI = GameManager.Instance.CreateEndUI();

        _endUI.WhiteNoiseOn(0);
        yield return(new WaitForSeconds(0.7f));

        CustomSceneManager.Instance.LoadUIScene(CustomSceneManager.UIScenes.TrainingScene);
    }
    public void ClearGame(Result score) // 각 미니게임이 끝났을때 실행되어야 하는 함수
    {
        if (isGameStart)
        {
            isGameStart = false;
            previousResult.Add(score);
            accumulateGame += 1;

            previousDifficultyLevel = difficultyLevel;
            difficultyLevel        += (int)score;

            if (isHiddenStroy)
            {
                if (difficultyLevel > 15)
                {
                    difficultyLevel = 15;
                }
            }
            else
            {
                if (difficultyLevel > 10)
                {
                    difficultyLevel = 10;
                }
            }
            if (difficultyLevel < 1)
            {
                difficultyLevel = 1;
            }

            string scoreText = "";
            if (score == Result.A)
            {
                scoreText = "대성공";
            }
            else if (score == Result.B)
            {
                scoreText = "성공";
            }
            else if (score == Result.C)
            {
                scoreText = "실패";
            }
            else if (score == Result.D)
            {
                scoreText = "대실패";
            }

            EndUI _endUI = CreateEndUI();
            _endUI.GameOverPanelOn(scoreText);
            _endUI.WhiteNoiseOn(1f);

            if (IsEvaluationStart)
            {
                CustomSceneManager.Instance.LoadUIScene(CustomSceneManager.UIScenes.Evaluation, 1.5f);
            }
            else
            {
                CustomSceneManager.Instance.LoadUIScene(CustomSceneManager.UIScenes.TrainingScene, 1.5f);
            }
        }
    }