/// <summary>
 /// 增加加奖励物品的分数
 /// </summary>
 private void AddGemCount()
 {
     gemCount++;//临时
     GemCount1++;
     xmldata.UpdateXMLData(Savepath, "GemCount", GemCount1.ToString());
     m_UIManager.UpdateData(scroeCount, gemCount, GemCount1);
     m_UIManager.TF();
 }
 /// <summary>
 /// 保存数据
 /// </summary>
 private void SaveData()
 {
     xmldata.UpdateXMLData(Savepath, "GemCount", GemCount1.ToString());
     //PlayerPrefs.SetInt("gem",GemCount);
     if (scroeCount > xmldata.HeightScore /*PlayerPrefs.GetInt("score",0)*/)
     {
         xmldata.UpdateXMLData(Savepath, "HeightScore", scroeCount.ToString());
         //PlayerPrefs.SetInt("score", scroeCount);
     }
 }