Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hy08_caici
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
hy08_caici
Commits
7f1f8c8e
Commit
7f1f8c8e
authored
Jul 18, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更换到destroy内
parent
71b28cc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hy08_caici.ts
assets/hy08_caici/scene/hy08_caici.ts
+1
-1
No files found.
assets/hy08_caici/scene/hy08_caici.ts
View file @
7f1f8c8e
...
@@ -54,10 +54,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -54,10 +54,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
}
}
}
protected
onDestroy
():
void
{
protected
onDestroy
():
void
{
courseware
&&
courseware
.
onConfigurationLandscape
()
}
}
onClose
()
{
onClose
()
{
pg
.
event
.
clear
();
pg
.
event
.
clear
();
courseware
.
onConfigurationLandscape
()
// 下一页
// 下一页
const
middleLayer
=
cc
.
find
(
'
middleLayer
'
).
getComponent
(
'
middleLayer
'
);
const
middleLayer
=
cc
.
find
(
'
middleLayer
'
).
getComponent
(
'
middleLayer
'
);
middleLayer
.
saveGolds
(
this
.
score
);
// 保存金币数量;num 是获得金币的数量,数字类型;
middleLayer
.
saveGolds
(
this
.
score
);
// 保存金币数量;num 是获得金币的数量,数字类型;
...
...
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