示例#1
0
        public override void init(string gameId, bool testModeEnabled, string gameObjectName, string unityVersion)
        {
            if (Advertisement.UnityDeveloperInternalTestMode)
            {
                UnityAdsIosBridge.UnityAdsEnableUnityDeveloperInternalTestMode();
            }

            UnityAdsIosBridge.UnityAdsInit(gameId, testModeEnabled, (Advertisement.debugLevel & Advertisement.DebugLevel.Debug) != Advertisement.DebugLevel.None ? true : false, gameObjectName, unityVersion);
        }
示例#2
0
        public override void init(string gameId, bool testModeEnabled, string gameObjectName)
        {
            if (Advertisement.UnityDeveloperInternalTestMode)
            {
                UnityAdsIosBridge.enableUnityDeveloperInternalTestMode();
            }

            UnityAdsIosBridge.init(gameId, testModeEnabled, (Advertisement.debugLevel & Advertisement.DebugLevel.DEBUG) != Advertisement.DebugLevel.NONE ? true : false, gameObjectName);
        }
示例#3
0
 public override bool canShowZone(string zone)
 {
     if (!string.IsNullOrEmpty(zone))
     {
         return(UnityAdsIosBridge.canShowZone(zone));
     }
     else
     {
         return(UnityAdsIosBridge.canShow());
     }
 }
示例#4
0
 public override void setDefaultRewardItemAsRewardItem()
 {
     UnityAdsIosBridge.setDefaultRewardItemAsRewardItem();
 }
示例#5
0
 public override bool setRewardItemKey(string rewardItemKey)
 {
     return(UnityAdsIosBridge.setRewardItemKey(rewardItemKey));
 }
示例#6
0
 public override string getCurrentRewardItemKey()
 {
     return(UnityAdsIosBridge.getCurrentRewardItemKey());
 }
示例#7
0
 public override bool hasMultipleRewardItems()
 {
     return(UnityAdsIosBridge.hasMultipleRewardItems());
 }
示例#8
0
 public override void setNetworks(HashSet <string> networks)
 {
     UnityAdsIosBridge.setNetworks(Utils.Join(networks, ","));
 }
示例#9
0
 public override string getRewardItemDetailsKeys()
 {
     return(UnityAdsIosBridge.getRewardItemDetailsKeys());
 }
示例#10
0
 public override void hide()
 {
     UnityAdsIosBridge.hide();
 }
示例#11
0
 public override bool show(string zoneId, string rewardItemKey, string options)
 {
     return(UnityAdsIosBridge.show(zoneId, rewardItemKey, options));
 }
示例#12
0
 public override string getDefaultRewardItemKey()
 {
     return(UnityAdsIosBridge.UnityAdsGetDefaultRewardItemKey());
 }
 public override void setNetwork(string network)
 {
     UnityAdsIosBridge.setNetwork(network);
 }
 public override void init(string gameId, bool testModeEnabled, bool debugModeEnabled, string gameObjectName)
 {
     UnityAdsIosBridge.init(gameId, testModeEnabled, debugModeEnabled, gameObjectName);
 }
 public override bool canShow()
 {
     return(UnityAdsIosBridge.canShow());
 }
示例#16
0
 public override bool isSupported()
 {
     return(UnityAdsIosBridge.isSupported());
 }
示例#17
0
 public override string getRewardItemDetailsWithKey(string rewardItemKey)
 {
     return(UnityAdsIosBridge.getRewardItemDetailsWithKey(rewardItemKey));
 }
示例#18
0
 public override string getSDKVersion()
 {
     return(UnityAdsIosBridge.getSDKVersion());
 }
示例#19
0
 public override void setLogLevel(Advertisement.DebugLevel logLevel)
 {
     UnityAdsIosBridge.setDebugMode((Advertisement.debugLevel & Advertisement.DebugLevel.DEBUG) != Advertisement.DebugLevel.NONE ? true : false);
 }
示例#20
0
 public override bool canShowAds(string network)
 {
     return(UnityAdsIosBridge.canShowAds(network));
 }