Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cartoon_main
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
cartoon_main
Commits
4c6ab1d1
Commit
4c6ab1d1
authored
Aug 31, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改报错
parent
91f28211
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
cartoon_main.fire
assets/cartoon_main/scene/cartoon_main.fire
+3
-3
cartoon_main.ts
assets/cartoon_main/scene/cartoon_main.ts
+1
-0
No files found.
assets/cartoon_main/scene/cartoon_main.fire
View file @
4c6ab1d1
...
@@ -501,7 +501,7 @@
...
@@ -501,7 +501,7 @@
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1280,
"width": 1280,
"height":
220.5
"height":
441
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -552,7 +552,7 @@
...
@@ -552,7 +552,7 @@
"__id__": 13
"__id__": 13
}
}
],
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
"_components": [
{
{
"__id__": 15
"__id__": 15
...
@@ -909,7 +909,7 @@
...
@@ -909,7 +909,7 @@
"_layoutSize": {
"_layoutSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1280,
"width": 1280,
"height":
220.5
"height":
441
},
},
"_resize": 1,
"_resize": 1,
"_N$layoutType": 3,
"_N$layoutType": 3,
...
...
assets/cartoon_main/scene/cartoon_main.ts
View file @
4c6ab1d1
...
@@ -98,6 +98,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -98,6 +98,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
item
.
parent
=
this
.
node
;
item
.
parent
=
this
.
node
;
contentNode
.
removeAllChildren
();
contentNode
.
removeAllChildren
();
item
.
parent
=
contentNode
;
item
.
parent
=
contentNode
;
item
.
active
=
false
;
// 绘制
// 绘制
for
(
let
i
=
0
;
i
<
this
.
rows
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
rows
.
length
;
i
++
)
{
...
...
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