public override void ReportProgress(Action <bool> _onCompletion) { base.ReportProgress(_onCompletion); if (Description == null) { return; } AndroidAchievementsManager _achievementManager = ((GameServicesAndroid)(NPBinding.GameServices)).AchievementsManager; _achievementManager.ReportProgress(this, OnReportProgressFinished); }
internal static AndroidAchievement Create(string _achievementId) { AndroidAchievementsManager _achievementManager = ((GameServicesAndroid)(NPBinding.GameServices)).AchievementsManager; IDictionary _achievementData = _achievementManager.GetAchievementData(_achievementId); if (_achievementData != null) { return(new AndroidAchievement(_achievementData)); } else { return(new AndroidAchievement(_achievementId)); } }