Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_NJ_lite
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_NJ_lite
Commits
f169ac75
Commit
f169ac75
authored
Sep 26, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug 清缓存
parent
e0502f71
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
4 deletions
+82
-4
middleLayer_for_NJ_lite.fire
...iddleLayer_for_NJ_lite/scene/middleLayer_for_NJ_lite.fire
+77
-2
middleLayerBase.ts
assets/middleLayer_for_NJ_lite/script/middleLayerBase.ts
+5
-2
No files found.
assets/middleLayer_for_NJ_lite/scene/middleLayer_for_NJ_lite.fire
View file @
f169ac75
...
@@ -320,15 +320,18 @@
...
@@ -320,15 +320,18 @@
},
},
{
{
"__id__": 125
"__id__": 125
},
{
"__id__": 128
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
28
"__id__": 1
30
},
},
{
{
"__id__": 1
29
"__id__": 1
31
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5948,6 +5951,78 @@
...
@@ -5948,6 +5951,78 @@
"_originalHeight": 0,
"_originalHeight": 0,
"_id": "b2OIHmdDVFT5aJppIyFhCT"
"_id": "b2OIHmdDVFT5aJppIyFhCT"
},
},
{
"__type__": "cc.Node",
"_name": "Destroyer",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 129
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d9WooRoG1L444hPQOE3zBg"
},
{
"__type__": "ddd21vavV5OAZOK6TPHd3Je",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
},
"_enabled": true,
"_id": "04XtlEx3hD9J2J8VGhgzZI"
},
{
{
"__type__": "d98e34LKINGEIpG3utycEds",
"__type__": "d98e34LKINGEIpG3utycEds",
"_name": "",
"_name": "",
...
...
assets/middleLayer_for_NJ_lite/script/middleLayerBase.ts
View file @
f169ac75
...
@@ -229,8 +229,11 @@ export abstract class middleLayerBase extends cc.Component {
...
@@ -229,8 +229,11 @@ export abstract class middleLayerBase extends cc.Component {
const
destroyer
=
cc
.
instantiate
(
cc
.
find
(
'
middleLayer/Destroyer
'
));
const
destroyer
=
cc
.
instantiate
(
cc
.
find
(
'
middleLayer/Destroyer
'
));
destroyer
.
parent
=
cc
.
find
(
'
Canvas
'
);
if
(
destroyer
)
{
destroyer
.
active
=
true
;
destroyer
.
parent
=
cc
.
find
(
'
Canvas
'
);
destroyer
.
active
=
true
;
}
callback
&&
callback
();
callback
&&
callback
();
...
...
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