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