public void ReportProgressWithGlobalID(string _achievementGID, int _pointsScored, Achievement.ReportProgressCompletion _onCompletion) { string _achievementID = GameServicesUtils.GetAchievementID(_achievementGID); // Invoke handler ReportProgress(_achievementGID, _achievementID, _pointsScored, _onCompletion); }
/// <summary> /// Creates a new instance of achievement object, using unified id. /// </summary> /// <param name="_achievementGID">An unified string internally used to identify the achievement across all the supported platforms.</param> /// <remarks> /// \note Works only if, achievement metadata was configured in NPSettings or else explicitely set using <see cref="SetAchievementMetadataCollection"/>. /// </remarks> public Achievement CreateAchievementWithGlobalID(string _achievementGID) { string _achievementID = GameServicesUtils.GetAchievementID(_achievementGID); return(CreateAchievement(_achievementGID, _achievementID)); }