/// <summary> /// Ad loaded callback /// </summary> /// <param name="ad"></param> public void OnAdLoaded(IAd ad) { try { // Show the ad InterstitialAd?.Show(); } catch (Exception e) { Console.WriteLine(e); } }
/// <summary> /// Ad loaded callback /// </summary> /// <param name="ad"></param> public void OnAdLoaded(IAd ad) { try { // Show the ad InterstitialAd?.Show(); Console.WriteLine(Activity); } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
public override void OnAdLoaded() { try { base.OnAdLoaded(); if (Ad != null && Ad.IsLoaded) { Ad?.Show(); } } catch (Exception exception) { Methods.DisplayReportResultTrack(exception); } }
public void ShowAd() { interstitialAd.Show(); returnToScene = false; }
private void HandleOnAdLoaded(object a, EventArgs args) { interstitial.Show(); }
private void OnAdReady(object sender, object e) { interstitialAd.Show(); }
public void OnAdLoaded(object sender, System.EventArgs args) { ad.Show(); }
void OnGUI() { stringToEdit = GUILayout.TextArea(stringToEdit, 200, GUILayout.Width(300), GUILayout.Height(100)); if (GUILayout.Button("Beluga Login Page", GUILayout.Width(200), GUILayout.Height(50))) { string appid = "fanadv3"; string apikey = "4fbc7b551f8ab63d4dadd8694ff261bf"; string packageID = "com.hosengamers.chee"; bool inMaintain = false; string dialogTitle = "Warnings"; // if inMaintain is false setDialog title null string dialogMessage = "server in maintain..."; // if inMaintain is false setDialog message null DJBeluga.GetInstance().AuthClient(appid, apikey, GameLogobytes, packageID, inMaintain, dialogTitle, dialogMessage); } if (GUILayout.Button("gooogle pay", GUILayout.Width(200), GUILayout.Height(50))) { string SKU_GAS = "beluga.gold"; string base64 = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAn2J6q0hd9FhArBYBcKSJabarKunSudfg/LUAwstUY/6UN581eoXEKBo7U2Kd2IA1GaAAXS3vAx4Nv9DAJrurBNof6JpCaEKjhzHLI8TWRqXh77K9dwM8mNMBnN83pP05pRLOMUz33Q/gd1wpQgFzumjl2ai/wAaIqb2YLCvOCUKPIBz5F4RedIySdMfSvIVsDt1FrIOxmPgyL7PFfU42nJMGle7o01hB+vvcMoOaOJu6Kmjkgbru6X6TRWXFfVXY/27iTbCmF1ASsS6btJgQAZr49Km23lZUlV4T+Po9CFfy04PS+uBXJvleUJPuKQe4GMLtcEfUkhQDZpllUvEI7wIDAQAB"; string UserId = "1030176"; //user id string serverId = "server1"; string role = "leo"; string orderId = "order123"; DJBeluga.GetInstance().GooglePayment(SKU_GAS, base64, UserId, serverId, role, orderId); } if (GUILayout.Button("MOL", GUILayout.Width(200), GUILayout.Height(50))) { string user_id = "1000005"; string game_id = "04101786"; string app_id = "herinv"; string PackageID = "com.beluga"; string server_id = "999"; string role = "leo"; DJBeluga.GetInstance().MOLPayment(user_id, game_id, app_id, PackageID, server_id, role); } if (GUILayout.Button("Mycard small pay", GUILayout.Width(200), GUILayout.Height(50))) { string apikey = "412c1bd510967dce3b050842a35fae18"; string appid = "kilmasa"; string uid = "1040714"; string server_id = "Server1"; string role = "leo"; string itemId = "Testing"; string orderId = "Order123"; DJBeluga.GetInstance().MyCardSmallPayment(apikey, appid, uid, server_id, role, itemId, orderId); } if (GUILayout.Button("MyCard s number", GUILayout.Width(200), GUILayout.Height(50))) { string apikey = "412c1bd510967dce3b050842a35fae18"; string appid = "kilmasa"; string uid = "1040714"; string server_id = "Server1"; string role = "leo"; string itemId = "Testing"; string orderId = "Order123"; DJBeluga.GetInstance().MyCardSerialNumberPayment(apikey, appid, uid, server_id, role, itemId, orderId); } if (GUILayout.Button("FB app invite", GUILayout.Width(200), GUILayout.Height(50))) { DJBeluga.GetInstance().fbAppInvite("", ""); } if (GUILayout.Button("FB game invite", GUILayout.Width(200), GUILayout.Height(50))) { DJBeluga.GetInstance().fbGameInvite("hello", "hello"); } if (GUILayout.Button("FB share", GUILayout.Width(200), GUILayout.Height(50))) { DJBeluga.GetInstance().fbShare("", "", "", ""); } if (GUILayout.Button("Interstitial", GUILayout.Width(200), GUILayout.Height(50))) { if (ADLB.IsLoaded()) { ADLB.Show(); } } if (GUILayout.Button("gpg", GUILayout.Width(200), GUILayout.Height(50))) { print("test obj:" + gpgService); gpgService.create(); } if (GUILayout.Button("gpg Login", GUILayout.Width(200), GUILayout.Height(50))) { gpgService.signin(); } if (GUILayout.Button("gpg logout", GUILayout.Width(200), GUILayout.Height(50))) { gpgService.signout(); } if (GUILayout.Button("gpg showAchievements", GUILayout.Width(200), GUILayout.Height(50))) { gpgService.showAchievements(); } if (GUILayout.Button("gpg showLeaderboards", GUILayout.Width(200), GUILayout.Height(50))) { gpgService.showLeaderboards(); } if (GUILayout.Button("gpg unlockAchievements", GUILayout.Width(200), GUILayout.Height(50))) { string achievements_id = "CgkI1beZi9MBEAIQAQ"; gpgService.unlockAchievements(achievements_id); } if (GUILayout.Button("gpg unlockLeaderboards", GUILayout.Width(200), GUILayout.Height(50))) { string leaderboards_id = "CgkI1beZi9MBEAIQBw"; long score = 1337; gpgService.unlockLeaderboards(leaderboards_id, score); } }
public void showAds() { interstitial.Show(); }
public void showInterstitial() { interstitial.Show(); }
public void LoadAd() { interstitial.Show(); interstitial.Destroy(); RequestInterstitial(); }
public void showAds() { interstitial.Show(); Debug.Log("Show interstitial ad"); }
public void HandleInterstitialOnAdLoaded(object sender, EventArgs args) { Debug.Log("HandleInterstitialOnAdLoaded event received"); interstitialAd.Show(); }
public void HandleInterstitialLoaded(object sender, EventArgs args) { interstitial.Show(); print("HandleInterstitialLoaded event received."); }
public void ShowInterstitial() { interstitialADMOB.Show(); PrecacheNextInterstitial(); }
public static void ShowAd() { interstitialAd.Show(); }
private void Interstitial_OnAdLoaded(object sender, System.EventArgs e) { interstitial.Show(); }
public void on_show() { _interstitial.Show(); }
public void MostrarAnuncio() { anuncio.Show(); anuncio.Destroy(); PedirInterstitial(); }
public void ShowInters() { interstitial.Show(); }
public void ShowFullAdmod() { interstitial.Show(); LoadFullAdmob(); }
public void ShowInterstitial() { m_interstitialAd.Show(); }
public void OnAdLoaded(IAd p0) { Console.WriteLine(""); interstitialAd.Show(); }
public void ShowFrontAd() { Debug.Log("FrontAd"); frontAd.Show(); LoadFrontAd(); }
public void ShowRegularAd() { ad.Show(); }
private void OnInterstitalLoaded(object sender, EventArgs args) { m_interstitial.Show(); }
public void Intestinal_Ad_Show() { InterstitialAd l_interAd = AdmobManager.Get <InterstitialAd>("Interstitial_1"); l_interAd.Show(); }
private static void OnInterstitialLoaded(object sender, System.EventArgs args) { _ad_interstitial.Show(); }
private void OnAdLoaded(object sender, EventArgs e) { ad.Show(); }
public void Show() { _ad.Show(); }