Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hy17_hds
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
hy17_hds
Commits
e0919458
Commit
e0919458
authored
Jul 16, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改结算页
parent
ca60ff0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
hy17_hds.ts
assets/hy17_hds/scene/hy17_hds.ts
+7
-3
No files found.
assets/hy17_hds/scene/hy17_hds.ts
View file @
e0919458
...
...
@@ -422,9 +422,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
gameOver
()
{
pg
.
view
.
visible
(
this
.
sentence_box
,
false
)
pg
.
event
.
emit
(
'
layer_ending_show
'
,
{
coin
:
this
.
score
})
// pg.event.emit('layer_ending_show', {
// coin: this.score
// })
// 下一页
const
middleLayer
=
cc
.
find
(
'
middleLayer
'
).
getComponent
(
'
middleLayer
'
);
middleLayer
.
saveGolds
(
this
.
score
);
// 保存金币数量;num 是获得金币的数量,数字类型;
middleLayer
.
goNextPage
();
// 跳转到下一页
}
}
...
...
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