/// <summary> /// Shows the standard Google Play Games achievements user interface, /// which allows the player to browse their achievements. /// </summary> public void ShowAchievementsUI() { if (!IsAuthenticated()) { Logger.e("ShowAchievementsUI can only be called after authentication."); return; } Logger.d("ShowAchievementsUI"); mClient.ShowAchievementsUI(); }
/// <summary> /// Shows the standard Google Play Games achievements user interface, /// which allows the player to browse their achievements. /// </summary> /// <param name="callback">If non-null, the callback is invoked when /// the achievement UI is dismissed</param> public void ShowAchievementsUI(Action <UIStatus> callback) { if (!IsAuthenticated()) { Logger.e("ShowAchievementsUI can only be called after authentication."); return; } Logger.d("ShowAchievementsUI callback is " + callback); mClient.ShowAchievementsUI(callback); }
/// <summary> /// Shows the standard Google Play Games achievements user interface, /// which allows the player to browse their achievements. /// </summary> public void ShowAchievementsUI() { if (!IsAuthenticated()) { GooglePlayGames.OurUtils.Logger.e("ShowAchievementsUI can only be called after authentication."); return; } GooglePlayGames.OurUtils.Logger.d("ShowAchievementsUI"); mClient.ShowAchievementsUI(); }