void Update()
    {
        int score = ScoreMng.GetScore();

        if (score >= 1000)
        {
            textResultScore.text = "Score:" + score + "えん";
        }
        else if (score >= 100)
        {
            textResultScore.text = "Score:" + "   " + score + "えん";
        }
        else if (score >= 10)
        {
            textResultScore.text = "Score:" + "    " + score + "えん";
        }
        else if (score >= 0)
        {
            textResultScore.text = "Score:" + "    " + score + "えん";
        }
        else if (score >= -90)
        {
            textResultScore.text = "Score:" + "  " + score + "えん";
        }
        else
        {
            textResultScore.text = "Score:" + score + "えん";
        }
    }
    //寶石交換跟檢驗是否有至少三個一樣的寶石
    IEnumerator ExangeAndMatches(Gemstone c1, Gemstone c2)
    {
        Exchange(c1, c2);
        FirstMove = true;
        yield return(new WaitForSeconds(0.5f));

        if (L_Match(c1) || L_Match(c2)) //L配對
        {
            Debug.Log("是L配對");
            _ScoreMng.GetScore(80);
        }
        else if (T_Match(c1) || T_Match(c2)) //T配對
        {
            Debug.Log("是T配對");
            _ScoreMng.GetScore(80);
        }
        else if (CheckHorizontalMatches() || CheckVerticalMatches()) //檢測開始!
        {
            Debug.Log("是一般配對");
            if (matchesGemstone.Count == 3)
            {
                _ScoreMng.GetScore(10);
            }
            else if (matchesGemstone.Count == 4)
            {
                _ScoreMng.GetScore(30);
            }
            else if (matchesGemstone.Count >= 5)
            {
                _ScoreMng.GetScore(50);
            }
            RemoveMatches();
        }
        else
        {
            Debug.Log("沒檢測到,把寶石交換回來");
            Exchange(c1, c2);
        }
    }
 void Start()
 {
     score      = ScoreMng.GetScore();
     evaluation = this.GetComponent <Text>();
 }