Exemple #1
0
 private void unlockPointsInOneMatchAchievements()
 {
     SocialAchievements.ForEachPointsInOneMatchAchievement((string achievement, int threshold) => {
         if (points.IntPoints >= threshold)
         {
             unlockAchievement(achievement);
         }
     });
 }
Exemple #2
0
 private void incrementAccumulatePointsAchievements()
 {
     SocialAchievements.ForEachAccumulatePointsAchievement((string achievement) => {
         incrementAchievement(achievement, points.IntPoints);
     });
 }