Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JJ_Game_09
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
JJ_Game_09
Commits
27bc0877
Commit
27bc0877
authored
Dec 26, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
9b218497
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
.DS_Store
.DS_Store
+0
-0
JJ_Game_09.ts
assets/JJ_Game_09/scene/JJ_Game_09.ts
+5
-0
btn_return.png.meta
assets/JJ_Game_09/textures/btn_return.png.meta
+2
-2
No files found.
.DS_Store
View file @
27bc0877
No preview for this file type
assets/JJ_Game_09/scene/JJ_Game_09.ts
View file @
27bc0877
...
@@ -35,6 +35,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -35,6 +35,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
}
onLoadEnd
()
{
onLoadEnd
()
{
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
console
.
log
(
"
onLoadEnd ...
"
);
return
;
this
.
initData
();
this
.
initData
();
this
.
initView
();
this
.
initView
();
this
.
initEvent
();
this
.
initEvent
();
...
@@ -93,6 +97,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -93,6 +97,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
private
page
:
number
;
private
page
:
number
;
initData
()
{
initData
()
{
this
.
log
(
`initData:
${
JSON
.
stringify
(
this
.
data
)}
`
)
this
.
log
(
`initData:
${
JSON
.
stringify
(
this
.
data
)}
`
)
this
.
autoPlay
=
0
;
this
.
autoPlay
=
0
;
this
.
page
=
0
;
this
.
page
=
0
;
...
...
assets/JJ_Game_09/textures/btn_return.png.meta
View file @
27bc0877
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"premultiplyAlpha": false,
"genMipmaps": false,
"genMipmaps": false,
"packable": true,
"packable": true,
"width":
244
,
"width":
139
,
"height":
174
,
"height":
97
,
"platformSettings": {},
"platformSettings": {},
"subMetas": {
"subMetas": {
"btn_return": {
"btn_return": {
...
...
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