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
df1e9a64
Commit
df1e9a64
authored
Feb 06, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
在数字版上加引导提示
parent
ab499892
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
252 additions
and
135 deletions
+252
-135
NJ_YouLeChang.fire
assets/NJ_YouLeChang/scene/NJ_YouLeChang.fire
+251
-132
tips_NJ_YouLeChang.js
assets/NJ_YouLeChang/script/tips_NJ_YouLeChang.js
+1
-3
No files found.
assets/NJ_YouLeChang/scene/NJ_YouLeChang.fire
View file @
df1e9a64
This diff is collapsed.
Click to expand it.
assets/NJ_YouLeChang/script/tips_NJ_YouLeChang.js
View file @
df1e9a64
...
@@ -33,15 +33,13 @@ cc.Class({
...
@@ -33,15 +33,13 @@ cc.Class({
start
()
{
start
()
{
const
currentStage
=
"
NJ_YouLeChang
"
;
const
currentStage
=
"
NJ_YouLeChang
"
;
const
nextStage
=
"
NJ_Menu
"
;
const
nextStage
=
"
NJ_Menu
"
;
const
tipsNode
=
cc
.
find
(
"
tips
"
,
this
.
node
)
const
tipsNode
=
cc
.
find
(
"
tips
"
,
this
.
node
);
window
.
tipsNode
=
tipsNode
;
let
tipsStage
=
cc
.
sys
.
localStorage
.
getItem
(
'
SYS_GUIDE_TIPS
'
);
let
tipsStage
=
cc
.
sys
.
localStorage
.
getItem
(
'
SYS_GUIDE_TIPS
'
);
if
(
!
tipsStage
)
{
if
(
!
tipsStage
)
{
tipsStage
=
currentStage
;
tipsStage
=
currentStage
;
cc
.
sys
.
localStorage
.
setItem
(
'
SYS_GUIDE_TIPS
'
,
tipsStage
);
cc
.
sys
.
localStorage
.
setItem
(
'
SYS_GUIDE_TIPS
'
,
tipsStage
);
}
}
if
(
tipsStage
==
currentStage
)
{
if
(
tipsStage
==
currentStage
)
{
console
.
log
(
"
显示提示指引
"
,
currentStage
);
tipsNode
.
active
=
true
;
tipsNode
.
active
=
true
;
}
}
cc
.
sys
.
localStorage
.
setItem
(
'
SYS_GUIDE_TIPS
'
,
nextStage
);
cc
.
sys
.
localStorage
.
setItem
(
'
SYS_GUIDE_TIPS
'
,
nextStage
);
...
...
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