Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Sbx_pageturn
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
Sbx_pageturn
Commits
33b0bcf2
Commit
33b0bcf2
authored
Nov 20, 2020
by
asdf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试监听后台
parent
211a47bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
Scene.js
play/assets/tmpGame/script/Scene.js
+10
-1
No files found.
play/assets/tmpGame/script/Scene.js
View file @
33b0bcf2
...
@@ -10,7 +10,7 @@ cc.Class({
...
@@ -10,7 +10,7 @@ cc.Class({
nodLayerPages
:
cc
.
Node
,
nodLayerPages
:
cc
.
Node
,
pfbItemIndicator
:
cc
.
Prefab
,
pfbItemIndicator
:
cc
.
Prefab
,
pfbItemPage
:
cc
.
Prefab
,
pfbItemPage
:
cc
.
Prefab
,
audTurnPage
:
cc
.
AudioClip
,
audTurnPage
:
cc
.
AudioClip
,
},
},
// 生命周期 onLoad
// 生命周期 onLoad
...
@@ -122,6 +122,15 @@ cc.Class({
...
@@ -122,6 +122,15 @@ cc.Class({
this
.
preloadItem
()
this
.
preloadItem
()
}
}
})
})
cc
.
game
.
on
(
cc
.
game
.
EVENT_HIDE
,
function
()
{
console
.
log
(
"
cc.game.EVENT_HIDE
"
);
});
cc
.
game
.
on
(
cc
.
game
.
EVENT_SHOW
,
function
()
{
console
.
log
(
"
cc.game.EVENT_HIDE
"
);
});
},
},
getData
(
cb
)
{
getData
(
cb
)
{
...
...
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