Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yyh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
wildfirecode13
yyh
Commits
c6e86cde
Commit
c6e86cde
authored
Dec 10, 2019
by
wangzhujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1232
parent
1193bf01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
StartScene.ts
egret/src/startScene/StartScene.ts
+7
-4
No files found.
egret/src/startScene/StartScene.ts
View file @
c6e86cde
...
@@ -44,6 +44,7 @@ export default class StartScene extends Scene {
...
@@ -44,6 +44,7 @@ export default class StartScene extends Scene {
private
pkExposure
:
any
;
private
pkExposure
:
any
;
constructor
(
data
){
constructor
(
data
){
super
();
super
();
this
.
initBuired
();
if
(
data
.
type
){
if
(
data
.
type
){
this
.
startdata
=
data
.
data
;
this
.
startdata
=
data
.
data
;
this
.
level
=
data
.
data
.
currentLevel
this
.
level
=
data
.
data
.
currentLevel
...
@@ -115,11 +116,13 @@ export default class StartScene extends Scene {
...
@@ -115,11 +116,13 @@ export default class StartScene extends Scene {
if
(
!
GCache
.
readCache
(
"isGuide"
)){
if
(
!
GCache
.
readCache
(
"isGuide"
)){
GCache
.
writeCache
(
"isGuide"
,
true
);
GCache
.
writeCache
(
"isGuide"
,
true
);
this
.
openGuide
();
this
.
openGuide
();
}
}
else
{
if
(
!
GCache
.
readCache
(
"isGuide2"
)){
if
(
!
GCache
.
readCache
(
"isGuide2"
)){
let
data
=
{
type
:
2
}
let
data
=
{
type
:
2
}
PanelCtrl
.
instance
.
show
(
ModuleTypes
.
GUIDE_PANEL
,
data
);
PanelCtrl
.
instance
.
show
(
ModuleTypes
.
GUIDE_PANEL
,
data
);
}
}
}
if
(
this
.
type
&&
this
.
type
==
1
){
if
(
this
.
type
&&
this
.
type
==
1
){
//引导过程中点亮杭州 回到引导页面显示第几位火炬手
//引导过程中点亮杭州 回到引导页面显示第几位火炬手
...
...
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