Commit 5aeeaf49 authored by zhangzhe's avatar zhangzhe

修改插屏问题

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