示例#1
0
 public static void UnlockAchievement(int achievement)
 {
     Debug.Log("Unlock achievement:" + achievement);
     if (HasAchievement(achievement))
     {
         return;
     }
     PlayerPrefs.SetInt("laserino_ach_" + achievement, 1);
     GameUI.AchievementPopup(achievement);
 }