Esempio n. 1
0
 public static void AddValue(SamAchievements.AchievementNames name, int v)
 {
     if(Achievements.GetAchievement(name).AddValue(v)) //returns true if achievements is unlocked
     {
         Debug.Log("Unlocked Achievement: " + name.ToString());
     }
 }
Esempio n. 2
0
 public static void Unlock(SamAchievements.AchievementNames name)
 {
     if(Achievements.GetAchievement(name).Unlock())  //returns true if achievements is unlocked
     {
         Debug.Log("Unlocked Achievement: " + name.ToString());
         SaveAchievements();
     }
 }