Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_debug
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
middleLayer_for_debug
Commits
aa3ea35a
Commit
aa3ea35a
authored
Dec 04, 2021
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
parent
4f475985
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
middleLayer_for_debug.fire
...ts/middleLayer_for_debug/scene/middleLayer_for_debug.fire
+3
-3
middleLayer.js
assets/middleLayer_for_debug/script/middleLayer.js
+1
-0
No files found.
assets/middleLayer_for_debug/scene/middleLayer_for_debug.fire
View file @
aa3ea35a
...
...
@@ -4802,7 +4802,7 @@
"__id__": 100
}
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 102
...
...
@@ -4884,7 +4884,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
15
0,
"width": 0,
"height": 15
},
"_anchorPoint": {
...
...
@@ -4998,7 +4998,7 @@
"__id__": 101
},
"_N$mode": 0,
"_N$progress": 0
.5
,
"_N$progress": 0,
"_N$reverse": false,
"_id": "bc3W7j5EVJRaoW20bSToA3"
},
...
...
assets/middleLayer_for_debug/script/middleLayer.js
View file @
aa3ea35a
...
...
@@ -158,6 +158,7 @@ cc.Class({
const
label
=
cc
.
find
(
"
middleLayer/ui/ProgressLabel
"
).
getComponent
(
cc
.
Label
);
label
.
string
=
`正在加载:
${
this
.
loadedCount
}
/
${
this
.
preloadCount
}
`
;
const
loadingProgress
=
cc
.
find
(
'
middleLayer/ui/loadingProgress
'
);
loadingProgress
.
active
=
true
;
if
(
this
.
loadedCount
>
this
.
preloadCount
*
0.99
)
{
cc
.
find
(
"
middleLayer/ui/ProgressLabel
"
).
active
=
false
;
loadingProgress
.
active
=
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