public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback) { guiMode = ReignScores_ClassicGuiModes.LoadingAchievements; guiAchievementOffset = 0; guiShowNativeViewDoneCallback = callback; plugin.RequestAchievements(guiRequestAchievementsCallback, this); }
/// <summary> /// Dumy method. /// </summary> /// <param name="callback"></param> public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { if (callback != null) { callback(false, "Dumy Score Obj"); } }
public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback) { mode = ReignScores_UnityUIModes.LoadingAchievements; achievementOffset = 0; showNativeViewDoneCallback = callback; plugin.RequestAchievements(requestAchievementsCallback, this); }
/// <summary> /// Dumy method. /// </summary> /// <param name="leaderboardID"></param> /// <param name="callback"></param> /// <param name="services"></param> public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { if (callback != null) { callback(false, "Dumy Score Obj"); } }
public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback) { guiMode = ReignScores_ClassicGuiModes.LoadingScores; guiShowNativeViewDoneCallback = callback; guiLeaderboardID = leaderboardID; guiScoreOffset = 0; plugin.RequestScores(leaderboardID, guiScoreOffset, TopScoresToListPerPage, guiRequestScoresCallback, this); }
public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback) { mode = ReignScores_UnityUIModes.LoadingScores; showNativeViewDoneCallback = callback; this.leaderboardID = leaderboardID; scoreOffset = 0; plugin.RequestScores(leaderboardID, scoreOffset, TopScoresToListPerPage, requestScoresCallback, this); }
/// <summary> /// Use to show native achievement UI view. /// </summary> /// <param name="callback">The callback that fires when done.</param> public static void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback) { if (waitingForOperation) { Debug.LogError("Must wait for last Score operation to complete."); return; } waitingForOperation = true; showNativeViewCallback = callback; plugin.ShowNativeAchievementsPage(async_showNativeViewCallback, ReignServices.Singleton); }
public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { if (IsAuthenticated) { GameCeneterShowAchievementsPage(); if (callback != null) { callback(true, null); } } else { if (callback != null) { callback(false, "Not Authenticated!"); } } }
public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { if (IsAuthenticated) { GameCenterShowScoresPage(findNativeLoaderboardID(leaderboardID)); if (callback != null) { callback(true, null); } } else { if (callback != null) { callback(false, "Not Authenticated!"); } } }
public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { ui.ShowNativeAchievementsPage(callback); }
public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { ui.ShowNativeScoresPage(leaderboardID, callback); }
/// <summary> /// Dumy method. /// </summary> /// <param name="callback"></param> public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { if (callback != null) callback(false, "Dumy Score Obj"); }
public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { showNativeViewDoneCallback = callback; native.CallStatic("ShowNativeAchievementsPage"); }
public void ShowNativeScoresPage (string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { #if !IOS_DISABLE_APPLE_SCORES if (IsAuthenticated) { GameCenterShowScoresPage(findNativeLoaderboardID(leaderboardID)); if (callback != null) callback(true, null); } else { if (callback != null) callback(false, "Not Authenticated!"); } #endif }
public void ShowNativeAchievementsPage (ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { #if !IOS_DISABLE_APPLE_SCORES if (IsAuthenticated) { GameCeneterShowAchievementsPage(); if (callback != null) callback(true, null); } else { if (callback != null) callback(false, "Not Authenticated!"); } #endif }
/// <summary> /// Dumy method. /// </summary> /// <param name="leaderboardID"></param> /// <param name="callback"></param> /// <param name="services"></param> public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { if (callback != null) callback(false, "Dumy Score Obj"); }
public void ShowNativeAchievementsPage (ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { showNativeViewDoneCallback = callback; native.CallStatic("ShowNativeAchievementsPage"); }
public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { showNativeViewDoneCallback = callback; native.CallStatic("ShowNativeScoresPage", findLeaderboardID(leaderboardID)); }
public void ShowNativeScoresPage (string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services) { showNativeViewDoneCallback = callback; native.CallStatic("ShowNativeScoresPage", findLeaderboardID(leaderboardID)); }