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
c7e90d93
Commit
c7e90d93
authored
Jul 09, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
7543b909
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
AdUtils.cs
Assets/Game/Main/Scripts/Utils/AdUtils.cs
+0
-2
StartControl.cs
Assets/Scripts/StartControl.cs
+5
-0
No files found.
Assets/Game/Main/Scripts/Utils/AdUtils.cs
View file @
c7e90d93
...
@@ -295,7 +295,6 @@ public class AdUtils
...
@@ -295,7 +295,6 @@ public class AdUtils
public
static
void
showInterAd
(
string
actionName
,
ZXADInterstitialListener
listener
)
public
static
void
showInterAd
(
string
actionName
,
ZXADInterstitialListener
listener
)
{
{
IsShowRewardAd
=
true
;
#if UNITY_EDITOR
#if UNITY_EDITOR
listener
.
onInterstitialClose
();
listener
.
onInterstitialClose
();
return
;
return
;
...
@@ -326,7 +325,6 @@ public class AdUtils
...
@@ -326,7 +325,6 @@ public class AdUtils
public
void
onInterstitialClose
()
public
void
onInterstitialClose
()
{
{
IsShowRewardAd
=
false
;
#if UNITY_IOS
#if UNITY_IOS
AdManager
.
Instance
.
LoadCacheInterstitialAd
(
"Interstitial"
);
AdManager
.
Instance
.
LoadCacheInterstitialAd
(
"Interstitial"
);
#endif
#endif
...
...
Assets/Scripts/StartControl.cs
View file @
c7e90d93
...
@@ -31,6 +31,11 @@ public class StartControl : MonoBehaviour
...
@@ -31,6 +31,11 @@ public class StartControl : MonoBehaviour
Constant
.
Instance
.
Interstitial_time
=
120
;
Constant
.
Instance
.
Interstitial_time
=
120
;
}
}
//StartCoroutine(SetInterAd());
//StartCoroutine(SetInterAd());
if
(
PlayerPrefs
.
GetInt
(
"finishedStrongGuide"
)
==
1
)
{
DialogControl
.
Instance
.
showPigBankDialog
();
}
}
}
/**
/**
...
...
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