Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NJ_MonkyTree
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
NJ_MonkyTree
Commits
e15f0666
Commit
e15f0666
authored
Sep 15, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
9001eb01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
NJ_MonkyTree.ts
assets/NJ_MonkyTree/scene/NJ_MonkyTree.ts
+3
-2
No files found.
assets/NJ_MonkyTree/scene/NJ_MonkyTree.ts
View file @
e15f0666
...
@@ -283,8 +283,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -283,8 +283,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
console
.
log
(
'
idx:
'
,
idx
);
console
.
log
(
'
idx:
'
,
idx
);
console
.
log
(
"
传入按钮名1:
"
,
name
);
console
.
log
(
"
传入按钮名1:
"
,
name
);
titleNode
.
getComponent
(
cc
.
Label
).
string
=
`<outline align=top color=
${
outline
}
// titleNode.getComponent(cc.Label).string = `<outline align=top color=${outline}
width=4>
${
name
}
</outline>`
;
// width=4>${name}</outline>`;
titleNode
.
getComponent
(
cc
.
Label
).
string
=
name
;
console
.
log
(
"
显示按钮名1:
"
,
titleNode
.
getComponent
(
cc
.
Label
).
string
);
console
.
log
(
"
显示按钮名1:
"
,
titleNode
.
getComponent
(
cc
.
Label
).
string
);
...
...
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