Commit 428e18e1 authored by zxhljwl's avatar zxhljwl

隐藏首次显示隐私协议和用户政策弹窗

parent 5c0e1f9f
...@@ -123,16 +123,16 @@ public class Splash : MonoBehaviour ...@@ -123,16 +123,16 @@ public class Splash : MonoBehaviour
})); }));
Debug.unityLogger.Log("kaiping1"); Debug.unityLogger.Log("kaiping1");
//第一次进入app 显示协议弹窗 //第一次进入app 显示协议弹窗
if (PlayerDataControl.Instance.GetIsShowDialog()) //if (PlayerDataControl.Instance.GetIsShowDialog())
{ //{
dialog.SetActive(true); // dialog.SetActive(true);
} //}
else //else
{ //不是第一次 展示开屏 //{ //不是第一次 展示开屏
Debug.unityLogger.Log("kaiping2"); Debug.unityLogger.Log("kaiping2");
AdManager.Instance.LoadSplashAd(new SplshAdListener()); AdManager.Instance.LoadSplashAd(new SplshAdListener());
LoadCacheAd(); LoadCacheAd();
} //}
} }
public void OnClickUserAgreement() public void OnClickUserAgreement()
......
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