public override void OnCollected() { base.StartCoroutine(this.ShowPopup()); GameProgress.SetBool("SECRET_DISCOVERED_" + Singleton <GameManager> .Instance.CurrentSceneName, true, GameProgress.Location.Local); GameProgress.AddSecretSkull(); int n = GameProgress.SecretSkullCount(); if (Singleton <SocialGameManager> .IsInstantiated()) { Singleton <SocialGameManager> .Instance.ReportAchievementProgress("grp.BRUSH", 100.0); Singleton <SocialGameManager> .Instance.TryReportAchievementProgress("grp.IS_IT_SECRET", 100.0, (int limit) => n >= limit); Singleton <SocialGameManager> .Instance.TryReportAchievementProgress("grp.SECRET_ADMIRER", 100.0, (int limit) => n >= limit); Singleton <SocialGameManager> .Instance.TryReportAchievementProgress("grp.MASTER_EXPLORER", 100.0, (int limit) => n >= limit); Singleton <SocialGameManager> .Instance.TryReportAchievementProgress("grp.MEGA_MASTER_EXPLORER", 100.0, (int limit) => n >= limit); } }