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
92b33759
Commit
92b33759
authored
Jul 16, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
5aeeaf49
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
AdUtils.cs
Assets/Game/Main/Scripts/Utils/AdUtils.cs
+0
-1
Guide.cs
Assets/Game/Main/Scripts/Utils/Guide.cs
+3
-1
StartControl.cs
Assets/Scripts/StartControl.cs
+1
-1
No files found.
Assets/Game/Main/Scripts/Utils/AdUtils.cs
View file @
92b33759
...
@@ -330,7 +330,6 @@ public class AdUtils
...
@@ -330,7 +330,6 @@ 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
();
}
}
...
...
Assets/Game/Main/Scripts/Utils/Guide.cs
View file @
92b33759
...
@@ -107,7 +107,6 @@ public class Guide : MonoBehaviour
...
@@ -107,7 +107,6 @@ public class Guide : MonoBehaviour
public
void
showGuide
(
bool
isUser
)
public
void
showGuide
(
bool
isUser
)
{
{
isUser
=
true
;
if
(
isStartShow
)
if
(
isStartShow
)
{
{
return
;
return
;
...
@@ -356,9 +355,12 @@ public class Guide : MonoBehaviour
...
@@ -356,9 +355,12 @@ public class Guide : MonoBehaviour
DissmissGuide
(
false
);
DissmissGuide
(
false
);
FastPlanting
.
Instance
().
Planting
(
1
);
FastPlanting
.
Instance
().
Planting
(
1
);
EventUtils
.
OnEvent
(
"rw03_bc_kjzz"
);
EventUtils
.
OnEvent
(
"rw03_bc_kjzz"
);
// 新手引导完成
PlayerDataControl
.
Instance
.
IsNewUser
=
false
;
PlayerDataControl
.
Instance
.
IsNewUser
=
false
;
Invoke
(
"showFlyBox"
,
60
);
Invoke
(
"showFlyBox"
,
60
);
LeeMainController
.
Instance
.
UpdateTitleBG2Info
();
LeeMainController
.
Instance
.
UpdateTitleBG2Info
();
PlayerPrefs
.
SetInt
(
"DidFinishedNewUserGuide"
,
1
);
}
}
public
void
onClickStep5
()
public
void
onClickStep5
()
{
{
...
...
Assets/Scripts/StartControl.cs
View file @
92b33759
...
@@ -37,7 +37,7 @@ public class StartControl : MonoBehaviour
...
@@ -37,7 +37,7 @@ public class StartControl : MonoBehaviour
private
void
ShowPigBanDialog
()
private
void
ShowPigBanDialog
()
{
{
if
(!
Guide
.
guide
.
IfHaveGuide
())
if
(!
Guide
.
guide
.
IfHaveGuide
()
&&
PlayerPrefs
.
GetInt
(
"DidFinishedNewUserGuide"
)
==
1
)
{
{
DialogControl
.
Instance
.
showPigBankDialog
();
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