private void OnRatePopUpClose(MNDialogResult result) { switch (result) { case MNDialogResult.RATED: if (Debug.isDebugBuild) { Debug.Log("Rate Option picked"); } SaveRate(-1); break; case MNDialogResult.REMIND: if (Debug.isDebugBuild) { Debug.Log("Much much later Option picked"); } SaveRate(6); break; case MNDialogResult.DECLINED: if (Debug.isDebugBuild) { Debug.Log("Later Option picked"); } SaveRate(3); break; } }
public void OnAdsPopUpDialog(MNDialogResult result) { switch (result) { case MNDialogResult.RATED: ThirdManager.instance.BuyProduct(); break; case MNDialogResult.REMIND: ThirdManager.instance.ShowAd(); // gameObject.SetActive (false); break; case MNDialogResult.DECLINED: if (delay30.GetComponent <Delay30> ().created) { delay30.SetActive(true); delay30.GetComponent <Delay30> ().resume(); } else { delay30.SetActive(true); } break; } }
private void OnSaveDialogClose(MNDialogResult result) { //parsing result switch(result) { case MNDialogResult.YES: break; case MNDialogResult.NO: break; default: break; } }
private void OnPopUpClose(MNDialogResult result) { switch (result) { case MNDialogResult.YES: Application.OpenURL(_storeUrl); break; case MNDialogResult.NO: SaveInvalidVersionUpCheck(true); break; } }
private void OnDialogClose(MNDialogResult result) { switch (result) { case MNDialogResult.YES: Application.Quit(); break; case MNDialogResult.NO: Debug.Log("Escape cancelled"); break; } }
private void OnDialogClose(MNDialogResult result) { //parsing result switch (result) { case MNDialogResult.YES: Application.OpenURL("https://unionassets.com/mobile-native-popups/showing-dialog-pop-up-58"); break; case MNDialogResult.NO: Debug.Log("No button pressed"); break; } }
private void OnDialogClose(MNDialogResult result) { switch (result) { case MNDialogResult.YES: Debug.Log("Yes button pressed"); break; case MNDialogResult.NO: Debug.Log("No button pressed"); break; } }
private static void OnSaveDialogCloseQuitGame(MNDialogResult result) { //parsing result switch(result) { case MNDialogResult.YES: Application.Quit (); //System.Diagnostics.Process.GetCurrentProcess().Kill(); break; case MNDialogResult.NO: break; default: break; } }
private void OnDialogClose(MNDialogResult result) { //parsing result switch(result) { case MNDialogResult.YES: Debug.Log ("Yes button pressed"); break; case MNDialogResult.NO: Debug.Log ("No button pressed"); break; } new MobileNativeMessage("Result", result.ToString() + " button pressed"); }
private void OnDialogClose(MNDialogResult result) { //parsing result switch (result) { case MNDialogResult.YES: Debug.Log("Yes button pressed"); break; case MNDialogResult.NO: Debug.Log("No button pressed"); break; } new MobileNativeMessage("Result", result.ToString() + " button pressed"); }
private void OnRatePopUpClose(MNDialogResult result) { //parsing result switch (result) { case MNDialogResult.RATED: PlayerPrefs.SetInt("Rate", 1); break; case MNDialogResult.REMIND: Debug.Log("Remind Option picked"); break; case MNDialogResult.DECLINED: Debug.Log("Declined Option picked"); break; } }
private void OnDialogClose(MNDialogResult result) { //parsing result switch (result) { case MNDialogResult.YES: Debug.Log("Yes button pressed"); Application.OpenURL(this.ActionURL); break; case MNDialogResult.NO: Debug.Log("No button pressed"); break; } }
private void OnAdsPopUpClose(MNDialogResult result) { switch (result) { case MNDialogResult.RATED: ThirdManager.instance.BuyProduct(); break; case MNDialogResult.REMIND: ThirdManager.instance.ShowRewardedVideo(); AudioController.Stop("Menu"); break; case MNDialogResult.DECLINED: delay30.SetActive(true); break; } }
private void OnRatePopUpClose(MNDialogResult result) { //parsing result switch(result) { case MNDialogResult.RATED: Debug.Log ("Rate Option pickied"); break; case MNDialogResult.REMIND: Debug.Log ("Remind Option pickied"); break; case MNDialogResult.DECLINED: Debug.Log ("Declined Option pickied"); break; } new MobileNativeMessage("Result", result.ToString() + " button pressed"); }
public void OnAdsPopUpClose(MNDialogResult result) { switch (result) { case MNDialogResult.RATED: ThirdManager.instance.BuyProduct(); break; case MNDialogResult.REMIND: ThirdManager.instance.ShowRewardedVideo(); AudioController.Stop("Menu"); gameObject.SetActive(false); break; case MNDialogResult.DECLINED: gameObject.SetActive(true); gameObject.GetComponent <Delay30>().resume(); break; } }
private void OnRatePopUpClose(MNDialogResult result) { //parsing result switch (result) { case MNDialogResult.RATED: Debug.Log("Rate Option pickied"); break; case MNDialogResult.REMIND: Debug.Log("Remind Option pickied"); break; case MNDialogResult.DECLINED: Debug.Log("Declined Option pickied"); break; } new MobileNativeMessage("Result", result.ToString() + " button pressed"); }
private void OnRatePopUpClose(MNDialogResult result) { GameData.playCnt = PlayerPrefs.GetInt("playCnt", 0); switch (result) { case MNDialogResult.RATED: Application.OpenURL("market://details?id=com.peakrainbow.missionday"); GameData.playCnt = 1; break; case MNDialogResult.REMIND: GameData.playCnt = 1; break; case MNDialogResult.DECLINED: Debug.Log("Declined Option pickied"); GameData.playCnt = -10000; PlayerPrefs.SetInt("playCnt", GameData.playCnt);; break; } }
public void OnAdsPopUpClose(MNDialogResult result) { switch (result) { case MNDialogResult.RATED: ThirdManager.instance.BuyProduct(); break; case MNDialogResult.REMIND: ThirdManager.instance.ShowAd(); // ThirdManager.instance.gameObject.GetComponents<AudioSource> ()[0].Stop (); gameObject.SetActive(false); break; case MNDialogResult.DECLINED: gameObject.SetActive(true); gameObject.GetComponent <Delay30>().resume(); break; } }
//BuyAvatarDialog PopUp: result checker private void OnBuyAvatarDialogClose(MNDialogResult result){ switch (result) { case MNDialogResult.YES: BuyAvatar(); break; case MNDialogResult.NO: break; } }
//QuitGame PopUp: result checker private void OnQuitGameDialogClose(MNDialogResult result){ switch (result) { case MNDialogResult.YES: QuitGame (); break; case MNDialogResult.NO: break; } }
//Home PopUp: result checker private void OnhomeDialogClose(MNDialogResult result){ switch (result) { case MNDialogResult.YES: MainMenu(); break; case MNDialogResult.NO: break; } }
private void OnCompleteListener(MNDialogResult res) { OnComplete(); }
private void OnCompleteListener(MNDialogResult res) { OnComplete(res); }
private void OnSaveDialogClose1(MNDialogResult result) { //parsing result switch(result) { case MNDialogResult.YES: new MobileNativeMessage("Saved", "your changes have been saved successfully"); //SaveData(); MainController.SwitchScene(MainController.previousScene); break; case MNDialogResult.NO: MainController.SwitchScene(MainController.previousScene); break; default: break; } }