Commit de2d16f5 authored by zhangzhe's avatar zhangzhe

实物奖励提交收货信息看广告后不飞红包

parent c882af7d
fileFormatVersion: 2
guid: 3bdf81920b9ea8e46abd100e083eefe7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
...@@ -76,12 +76,14 @@ public class AdUtils ...@@ -76,12 +76,14 @@ public class AdUtils
callback(true); callback(true);
//EventCenter.Broadcast(MyEventType.FlyVideoRedPack); //EventCenter.Broadcast(MyEventType.FlyVideoRedPack);
// 热启动播放的激励视频, 不增加每日存钱罐, 所以也不播放每日存钱罐的动画 List<string> ignoreNames = new List<string>();
if (actionName == "hot_lunch_reward"||actionName== "caomei_addProcess") ignoreNames.Add("hot_lunch_reward");
{ ignoreNames.Add("caomei_addProcess");
ignoreNames.Add("shiwu_tijiaoaddress_ad");
ignoreNames.Add("shiwu_tijiaoname_ad");
ignoreNames.Add("shiwu_tijiaophone_ad");
} if (!ignoreNames.Contains(actionName))
else
{ {
#if UNITY_IOS #if UNITY_IOS
......
...@@ -28,7 +28,7 @@ public class RAInputName : MonoBehaviour ...@@ -28,7 +28,7 @@ public class RAInputName : MonoBehaviour
return; return;
} }
AdUtils.PlayRewardAd("shiwu_tijiaoaddress_ad", new Action<bool>((cb) => AdUtils.PlayRewardAd("shiwu_tijiaoname_ad", new Action<bool>((cb) =>
{ {
if (cb) if (cb)
{ {
......
...@@ -28,7 +28,7 @@ public class RAInputPhone : MonoBehaviour ...@@ -28,7 +28,7 @@ public class RAInputPhone : MonoBehaviour
return; return;
} }
AdUtils.PlayRewardAd("shiwu_tijiaoaddress_ad", new Action<bool>((cb) => AdUtils.PlayRewardAd("shiwu_tijiaophone_ad", new Action<bool>((cb) =>
{ {
if (cb) if (cb)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment