public void Upgrade(Achievement achievement, AchievementProgressEntry progress) { if (achievement.Type == AchievementType.NumericIncrement && achievement.MaxValue != progress.MaxValue) { float percent = (float)progress.ProgressValue / (float)progress.MaxValue; achievement.ProgressValue = (uint)Mathf.RoundToInt(percent * achievement.MaxValue); } }
public void Upgrade( Achievement achievement, AchievementProgressEntry progress) { }