Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DG22
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
DG22
Commits
571ee067
Commit
571ee067
authored
Nov 29, 2023
by
杨一航
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 反馈调整
parent
8d8b6143
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
DG22.ts
assets/DG22/scene/DG22.ts
+4
-2
No files found.
assets/DG22/scene/DG22.ts
View file @
571ee067
...
...
@@ -119,7 +119,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
cover
.
active
=
false
;
this
.
btn_end
.
active
=
false
;
this
.
dragRoot
.
children
.
forEach
((
val
)
=>
{
val
.
removeAllChildren
();
let
box
=
val
.
getChildByName
(
"
box
"
);
box
&&
(
box
.
parent
=
null
);
});
this
.
rect
.
removeAllChildren
();
this
.
boyNode
.
getComponent
(
Boy
).
playtalk
(
-
1
);
...
...
@@ -199,10 +200,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc
.
log
(
keyMap
)
for
(
let
i
=
0
;
i
<
this
.
dragData
.
length
;
++
i
)
{
list
[
i
].
removeAllChildren
();
let
itemInfo
=
this
.
dragData
[
i
];
let
key
=
itemInfo
.
text
let
dragNode
=
cc
.
instantiate
(
this
.
dragObj
);
dragNode
.
name
=
"
box
"
dragNode
.
x
=
0
;
dragNode
.
y
=
0
;
dragNode
.
parent
=
list
[
i
];
...
...
@@ -242,6 +243,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
boyNode
.
getComponent
(
Boy
).
playNormal
();
this
.
btn_end
.
active
=
true
;
this
.
btn_restart
.
active
=
true
;
this
.
cover
.
active
=
true
;
})
...
...
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