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
callback(true);
//EventCenter.Broadcast(MyEventType.FlyVideoRedPack);
// 热启动播放的激励视频, 不增加每日存钱罐, 所以也不播放每日存钱罐的动画
if (actionName == "hot_lunch_reward"||actionName== "caomei_addProcess")
{
List<string> ignoreNames = new List<string>();
ignoreNames.Add("hot_lunch_reward");
ignoreNames.Add("caomei_addProcess");
ignoreNames.Add("shiwu_tijiaoaddress_ad");
ignoreNames.Add("shiwu_tijiaoname_ad");
ignoreNames.Add("shiwu_tijiaophone_ad");
}
else
if (!ignoreNames.Contains(actionName))
{
#if UNITY_IOS
......
......@@ -28,7 +28,7 @@ public class RAInputName : MonoBehaviour
return;
}
AdUtils.PlayRewardAd("shiwu_tijiaoaddress_ad", new Action<bool>((cb) =>
AdUtils.PlayRewardAd("shiwu_tijiaoname_ad", new Action<bool>((cb) =>
{
if (cb)
{
......
......@@ -28,7 +28,7 @@ public class RAInputPhone : MonoBehaviour
return;
}
AdUtils.PlayRewardAd("shiwu_tijiaoaddress_ad", new Action<bool>((cb) =>
AdUtils.PlayRewardAd("shiwu_tijiaophone_ad", new Action<bool>((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