Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LWD_3
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
LWD_3
Commits
21477590
Commit
21477590
authored
Sep 28, 2021
by
Lwd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aaaa
parent
598625fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
data_mgr.js
play/assets/LWD_3/script/manager/data_mgr.js
+10
-4
No files found.
play/assets/LWD_3/script/manager/data_mgr.js
View file @
21477590
...
...
@@ -132,15 +132,21 @@ g.data_mgr = {
preload
()
{
cc
.
assetManager
.
loadAny
(
null
,
null
,
null
,
(
err
,
data
)
=>
{
//结束回调
this
.
loadEnd
();
if
(
window
&&
window
[
"
air
"
])
{
window
[
"
air
"
].
hideAirClassLoading
();
cc
.
find
(
'
Canvas
'
).
opacity
=
0
;
window
.
air
.
onCourseInScreen
=
(
next
)
=>
{
cc
.
find
(
'
Canvas
'
).
opacity
=
255
;
this
.
loadEnd
();
next
();
}
window
.
air
.
hideAirClassLoading
();
}
else
{
this
.
loadEnd
();
}
cc
.
debug
.
setDisplayStats
(
false
);
});
},
loadEnd
()
{
//更新游戏界面信息
g
.
game
.
inst
.
UpdataUi
();
...
...
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