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
affe4821
Commit
affe4821
authored
Feb 06, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化时隐藏背景
parent
72d7b5a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
NJ_YouLeChang.fire
assets/NJ_YouLeChang/scene/NJ_YouLeChang.fire
+1
-1
NJ_YouLeChang.ts
assets/NJ_YouLeChang/scene/NJ_YouLeChang.ts
+4
-0
No files found.
assets/NJ_YouLeChang/scene/NJ_YouLeChang.fire
View file @
affe4821
...
...
@@ -832,7 +832,7 @@
"__id__": 28
}
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 34
...
...
assets/NJ_YouLeChang/scene/NJ_YouLeChang.ts
View file @
affe4821
...
...
@@ -25,6 +25,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
if
(
this
.
engineType
==
'
aixuebao
'
)
{
cc
.
find
(
`Canvas/userInfo/frame/BtnLogout/text`
).
getComponent
(
cc
.
Label
).
string
=
"
退出APP
"
;
}
}
else
{
// 纸屏互动版本
cc
.
find
(
`Canvas/bg_ground/bg_grass`
).
active
=
true
;
cc
.
find
(
`Canvas/bg_ground/bg_grass_lite`
).
active
=
false
;
}
await
this
.
initData
();
await
this
.
initView
();
...
...
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