Commit 5aeeaf49 authored by zhangzhe's avatar zhangzhe

修改插屏问题

parent e53652a7
......@@ -178,12 +178,12 @@ public class UnityPhoneUtils
string vc = "";
#if UNITY_EDITOR
vc = "10";
vc = "12";
#elif UNITY_ANDROID
vc = GetPhoneUtil().Call<int>("getAppVersionCode", GetActivity())+"";
#elif UNITY_IOS
vc = "9";
vc = "12";
#endif
Debug.unityLogger.Log("GetVC " + vc);
return vc;
......
......@@ -301,6 +301,8 @@ public class AdUtils
#endif
AdManager.Instance.PlayCacheInterstitialAd("Interstitial", actionName, new InterstitialAdListener(listener));
IsShowRewardAd = true;
#if UNITY_ANDROID
AdManager.Instance.LoadCacheInterstitialAd("Interstitial");
#endif
......@@ -328,6 +330,7 @@ public class AdUtils
#if UNITY_IOS
AdManager.Instance.LoadCacheInterstitialAd("Interstitial");
#endif
IsShowRewardAd = false;
this.listener.onInterstitialClose();
}
......
......@@ -41,12 +41,6 @@ PlayerSettings:
height: 1
m_SplashScreenLogos: []
m_VirtualRealitySplashScreen: {fileID: 0}
m_ShowUnitySplashAds: 0
m_AdsAndroidGameId:
m_AdsIosGameId:
m_ShowSplashAdsSlogan: 0
m_SloganImage: {fileID: 0}
m_SloganHeight: 150
m_HolographicTrackingLossScreen: {fileID: 0}
defaultScreenWidth: 1024
defaultScreenHeight: 768
......@@ -124,14 +118,13 @@ PlayerSettings:
vulkanNumSwapchainBuffers: 3
vulkanEnableSetSRGBWrite: 0
vulkanEnableLateAcquireNextImage: 0
useSecurityBuild: 0
m_SupportedAspectRatios:
4:3: 1
5:4: 1
16:10: 1
16:9: 1
Others: 1
bundleVersion: 1.0.10
bundleVersion: 1.0.11
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0
......@@ -179,7 +172,7 @@ PlayerSettings:
iPhone: com.ym.simulator
buildNumber:
iPhone: 0
AndroidBundleVersionCode: 11
AndroidBundleVersionCode: 12
AndroidMinSdkVersion: 21
AndroidTargetSdkVersion: 0
AndroidPreferredInstallLocation: 1
......@@ -508,7 +501,6 @@ PlayerSettings:
m_Kind: 4
m_SubKind: App Store
m_BuildTargetBatching: []
m_BuildTargetEncrypting: []
m_BuildTargetGraphicsJobs:
- m_BuildTarget: MacStandaloneSupport
m_GraphicsJobs: 0
......
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