private void RequestAd()
    {
        cbInfo.text = "request ad";
                #if UNITY_IOS
        PlayableAdsBridge.LoadAd(gameObject.name, iosTestAppId, iosTestAdUnitId);
                #endif

        PlayableAdsAdapter.RequestAd(androidTestAdUnitId);
    }
示例#2
0
    private void RequestInterstitial()
    {
        cbInfo.text = "ZPLAYAds interstitial is loading...";

                #if UNITY_IOS
        PlayableAdsBridge.RequestAd(iOSTestInterstitial);
                #endif

                #if UNITY_ANDROID
        PlayableAdsAdapter.RequestAd(androidTestInterstitial);
                #endif
    }
示例#3
0
    private void RequestAd()
    {
        cbInfo.text = "ZPLAYAds ad is loading...";

                #if UNITY_IOS
        PlayableAdsBridge.RequestAd(iOSDemoAdUnitId);
                #endif

                #if UNITY_ANDROID
        PlayableAdsAdapter.RequestAd(androidDemoAdUnitId);
                #endif
    }