Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
W
wdlc_mjb_unity
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
wdlc_mjb_unity
Commits
5aeeaf49
Commit
5aeeaf49
authored
Jul 16, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改插屏问题
parent
e53652a7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
12 deletions
+7
-12
UnityPhoneUtils.cs
Assets/Base/UnityTool/UnityPhoneUtils.cs
+2
-2
AdUtils.cs
Assets/Game/Main/Scripts/Utils/AdUtils.cs
+3
-0
ProjectSettings.asset
ProjectSettings/ProjectSettings.asset
+2
-10
No files found.
Assets/Base/UnityTool/UnityPhoneUtils.cs
View file @
5aeeaf49
...
...
@@ -178,12 +178,12 @@ public class UnityPhoneUtils
string
vc
=
""
;
#if UNITY_EDITOR
vc
=
"1
0
"
;
vc
=
"1
2
"
;
#elif UNITY_ANDROID
vc
=
GetPhoneUtil
().
Call
<
int
>(
"getAppVersionCode"
,
GetActivity
())+
""
;
#elif UNITY_IOS
vc
=
"
9
"
;
vc
=
"
12
"
;
#endif
Debug
.
unityLogger
.
Log
(
"GetVC "
+
vc
);
return
vc
;
...
...
Assets/Game/Main/Scripts/Utils/AdUtils.cs
View file @
5aeeaf49
...
...
@@ -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
();
}
...
...
ProjectSettings/ProjectSettings.asset
View file @
5aeeaf49
...
...
@@ -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.1
0
bundleVersion
:
1.0.1
1
preloadedAssets
:
[]
metroInputSource
:
0
wsaTransparentSwapchain
:
0
...
...
@@ -179,7 +172,7 @@ PlayerSettings:
iPhone
:
com.ym.simulator
buildNumber
:
iPhone
:
0
AndroidBundleVersionCode
:
1
1
AndroidBundleVersionCode
:
1
2
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment