//成就管理
    private void AchievementManager()
    {
        AchievementLable ach = AchievementLable.Instance;

        ach.isAchievementGot = new bool[ach.Boxes.Length];
        for (int i = 0; i < ach.isAchievementGot.Length; i++)
        {
            ach.isAchievementGot[i] = false;
        }
        if (PlayerPrefs.GetInt("Enemy", 0) >= 10)
        {
            ach.isAchievementGot[0] = true;
        }
        if (PlayerPrefs.GetInt("Enemy", 0) >= 30)
        {
            ach.isAchievementGot[1] = true;
        }
        if (LevelManager.Instance.HaveThreeStar())
        {
            ach.isAchievementGot[2] = true;
        }
        if (LevelManager.Instance.WholeCityThreeStar())
        {
            ach.isAchievementGot[3] = true;
        }
        if (LevelManager.Instance.WholeMapThreeStar())
        {
            ach.isAchievementGot[4] = true;
        }
        ach.SetLabel();
    }
 void Awake()
 {
     if (!Instance)
         Instance = this;
     else if (Instance != this)
         Destroy(this.gameObject);
 }
 void Awake()
 {
     if (!Instance)
     {
         Instance = this;
     }
     else if (Instance != this)
     {
         Destroy(this.gameObject);
     }
 }