Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
F
First_FKQCW
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
王雪伟
First_FKQCW
Commits
cd9d1a8e
Commit
cd9d1a8e
authored
May 19, 2021
by
maxiaoliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改秒数问题和solt
parent
6d81dfe8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
DoubleIncomeDialog.cs
Assets/Game/Main/Scripts/View/DoubleIncomeDialog.cs
+1
-1
HomeInfoControl.cs
Assets/Game/Main/Scripts/View/HomeInfoControl.cs
+2
-2
No files found.
Assets/Game/Main/Scripts/View/DoubleIncomeDialog.cs
View file @
cd9d1a8e
...
@@ -68,7 +68,7 @@ public class DoubleIncomeDialog : MonoBehaviour
...
@@ -68,7 +68,7 @@ public class DoubleIncomeDialog : MonoBehaviour
{
{
EventUtils
.
OnEvent
(
"buttonClick_doubleIncome_receive"
);
EventUtils
.
OnEvent
(
"buttonClick_doubleIncome_receive"
);
GameObject
.
Find
(
"Dialog"
).
GetComponent
<
DialogControl
>().
OnClickCloseDoubleDialog
();
GameObject
.
Find
(
"Dialog"
).
GetComponent
<
DialogControl
>().
OnClickCloseDoubleDialog
();
AdUtils
.
PlayRewardAd
(
"
fkqcw_protection
"
,
new
Action
<
bool
>((
cb
)
=>
AdUtils
.
PlayRewardAd
(
"
doubling_reward
"
,
new
Action
<
bool
>((
cb
)
=>
{
{
EventUtils
.
OnEvent
(
"rewardVideo_doubleIncome"
);
EventUtils
.
OnEvent
(
"rewardVideo_doubleIncome"
);
EventUtils
.
OnEvent
(
"doubling_reward"
);
EventUtils
.
OnEvent
(
"doubling_reward"
);
...
...
Assets/Game/Main/Scripts/View/HomeInfoControl.cs
View file @
cd9d1a8e
...
@@ -145,7 +145,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
...
@@ -145,7 +145,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
}
}
private
int
time
=
5
;
private
int
time
=
10
;
private
void
startCountDown
()
private
void
startCountDown
()
{
{
StartCoroutine
(
showPigTrip
());
StartCoroutine
(
showPigTrip
());
...
@@ -156,7 +156,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
...
@@ -156,7 +156,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
img_pig_cash_trips
.
SetActive
(
true
);
img_pig_cash_trips
.
SetActive
(
true
);
yield
return
new
WaitForSecondsRealtime
(
time
);
yield
return
new
WaitForSecondsRealtime
(
2f
);
img_pig_cash_trips
.
SetActive
(
false
);
img_pig_cash_trips
.
SetActive
(
false
);
yield
return
new
WaitForSecondsRealtime
(
time
);
yield
return
new
WaitForSecondsRealtime
(
time
);
...
...
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