public void ShowLeaderboard() { if (Platform.instance.CheckLoadSavePrecondition( PlatformInterface.instance.textHelper.GetText("platform_logging_in"), () => platformSaveUtil.StartLoginAndDoSomething(() => { PlatformInterface.instance.confirmPopup.Close(); ExecuteShowLeaderboard(); }), ShowLoginFailed) == false) { return; } ExecuteShowLeaderboard(); PlatformInterface.instance.progressMessage.Close(); }
public void ShowAchievements() { if (Platform.instance.CheckLoadSavePrecondition(TextHelper.GetText("platform_logging_in"), () => PlatformSaveUtil.StartLoginAndDoSomething(() => { ConfirmPopup.instance.Close(); ExecuteShowAchievements(); }), ShowLoginFailed) == false) { return; } ExecuteShowAchievements(); ProgressMessage.instance.Close(); }