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
9894d9ce
Commit
9894d9ce
authored
Dec 01, 2023
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
a7cd45b8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
middleLayer_for_debug.fire
...ts/middleLayer_for_debug/scene/middleLayer_for_debug.fire
+2
-2
middleLayer.ts
assets/middleLayer_for_debug/script/middleLayer.ts
+4
-1
No files found.
assets/middleLayer_for_debug/scene/middleLayer_for_debug.fire
View file @
9894d9ce
...
...
@@ -10141,8 +10141,8 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "
!#Error#!
",
"_N$string": "
!#Error#!
",
"_string": "
垃圾回收
",
"_N$string": "
垃圾回收
",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
...
...
assets/middleLayer_for_debug/script/middleLayer.ts
View file @
9894d9ce
...
...
@@ -722,7 +722,10 @@ export default class NewClass extends middleLayerBase {
const
BtnError
=
cc
.
find
(
'
middleLayer/ui/BtnError
'
);
BtnError
.
on
(
'
click
'
,
()
=>
{
this
.
loadOnlineBundle
(
"
test_error
"
);
// this.loadOnlineBundle("test_error");
if
(
cc
.
sys
.
isNative
&&
cc
.
sys
.
os
==
cc
.
sys
.
OS_IOS
||
cc
.
sys
.
os
==
cc
.
sys
.
OS_ANDROID
)
{
cc
.
sys
.
garbageCollect
();
}
});
const
btnClose
=
cc
.
find
(
'
middleLayer/ConsoleNode/BtnClose
'
);
...
...
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