Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NGT_02
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
NGT_02
Commits
22ce0a3b
Commit
22ce0a3b
authored
Feb 25, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: onCourseInScreen
parent
21f4e3eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
data_mgr.js
assets/NGT_02/script/manager/data_mgr.js
+5
-3
No files found.
assets/NGT_02/script/manager/data_mgr.js
View file @
22ce0a3b
...
@@ -248,12 +248,14 @@ export function initDataMgr_NGT_02() {
...
@@ -248,12 +248,14 @@ export function initDataMgr_NGT_02() {
preload
()
{
preload
()
{
cc
.
assetManager
.
loadAny
(
null
,
null
,
null
,
(
err
,
data
)
=>
{
cc
.
assetManager
.
loadAny
(
null
,
null
,
null
,
(
err
,
data
)
=>
{
window
.
air
.
onCourseInScreen
=
(
next
)
=>
{
//结束回调
//结束回调
this
.
loadEnd
();
this
.
loadEnd
();
next
();
}
if
(
window
&&
window
[
"
air
"
])
{
if
(
window
&&
window
[
"
air
"
])
{
window
[
"
air
"
].
hideAirClassLoading
();
window
[
"
air
"
].
hideAirClassLoading
();
}
}
cc
.
debug
.
setDisplayStats
(
false
);
cc
.
debug
.
setDisplayStats
(
false
);
});
});
},
},
...
...
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