Commit 94ca2c76 authored by 王雪伟's avatar 王雪伟

修复汇川广告 汇川无法正确判断null 影响广告关闭的问题

parent 4ea2e21d
......@@ -14,8 +14,8 @@ public class ZXADConfig
}
}
public const int ZXAD_VC = 132;
public const string ZXAD_VN = "1.3.2";
public const int ZXAD_VC = 133;
public const string ZXAD_VN = "1.3.3";
public const string ADManagerTAG = "AdManager";
public const string PLANTFORM_AD_TT = "chuanshanjia"; //穿山甲
......
......@@ -43,18 +43,11 @@ public class ZXHCFeedUtil
/// </summary>
public void CloseFeedAd()
{
Debug.unityLogger.Log("CloseFeed1");
//if (feedAd != null)
//{
// Debug.unityLogger.Log("CloseFeed2");
//}
//else
//{
// Debug.unityLogger.Log("CloseFeed3");
// feedAd.CLoseAD();
//}
feedAd.CLoseAD();
if (feedAd != null)
{
feedAd.CLoseAD();
feedAd = null;
}
}
/// <summary>
......
......@@ -3,7 +3,7 @@ using System.Collections.Generic;
using UnityEngine;
namespace ZXHC
{
public class ZXHCFeedAd : MonoBehaviour
public class ZXHCFeedAd
{
private AndroidJavaObject feedAd;
internal AndroidJavaObject container;
......
fileFormatVersion: 2
guid: 404db19af6664974b8ff6c1960eaf29d
guid: f7e1466eb71132f4390d231ca23540cf
PluginImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: a7e20345cf807564fbfb4c3d2779e72f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
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