Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NJ_YouLeChang
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_YouLeChang
Commits
5c5d99fe
Commit
5c5d99fe
authored
Jun 06, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
parent
cc6fb26d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
NJ_YouLeChang.fire
assets/NJ_YouLeChang/scene/NJ_YouLeChang.fire
+3
-3
NJ_YouLeChang.ts
assets/NJ_YouLeChang/scene/NJ_YouLeChang.ts
+3
-1
No files found.
assets/NJ_YouLeChang/scene/NJ_YouLeChang.fire
View file @
5c5d99fe
...
...
@@ -3130,7 +3130,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
132.07
,
"width":
96
,
"height": 30.24
},
"_anchorPoint": {
...
...
@@ -3182,8 +3182,8 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "
player name
",
"_N$string": "
player name
",
"_string": "
拼读达人
",
"_N$string": "
拼读达人
",
"_fontSize": 24,
"_lineHeight": 24,
"_enableWrapText": true,
...
...
assets/NJ_YouLeChang/scene/NJ_YouLeChang.ts
View file @
5c5d99fe
...
...
@@ -89,7 +89,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
goldNumber
.
getComponent
(
cc
.
Label
).
string
=
goldData
.
data
;
const
nickname
=
cc
.
find
(
'
Canvas/userInfo/frame/nickname
'
);
if
(
userInfo
.
nick_name
)
{
nickname
.
getComponent
(
cc
.
Label
).
string
=
userInfo
.
nick_name
;
}
if
(
userInfo
.
avatar_url
)
{
}
const
headUrl
=
middleLayerComponent
.
getHeadUrl
(
userInfo
.
avatar_url
||
userInfo
.
id
);
...
...
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