Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Cocos-GoldenMiner
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
等吃饭
Cocos-GoldenMiner
Commits
64776f2c
Commit
64776f2c
authored
Apr 18, 2023
by
Friends233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix这为什么能运行
parent
9bb07dfe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
GameConfig.ts
assets/Script/Config/GameConfig.ts
+1
-1
GameScene.ts
assets/Script/GameScene.ts
+0
-1
No files found.
assets/Script/Config/GameConfig.ts
View file @
64776f2c
...
@@ -74,7 +74,7 @@ export const Config = {
...
@@ -74,7 +74,7 @@ export const Config = {
],
],
/** 进度默认颜色 */
/** 进度默认颜色 */
defaultColor
:
"#FF6C00"
defaultColor
:
"#FF6C00"
,
/** 道具分布图 4*3 */
/** 道具分布图 4*3 */
propsMap
:
[
propsMap
:
[
...
...
assets/Script/GameScene.ts
View file @
64776f2c
...
@@ -368,7 +368,6 @@ export default class GameScene extends cc.Component {
...
@@ -368,7 +368,6 @@ export default class GameScene extends cc.Component {
// 达到目标
// 达到目标
if
(
this
.
starNum
>=
this
.
levelObjectives
)
{
if
(
this
.
starNum
>=
this
.
levelObjectives
)
{
this
.
unschedule
(
this
.
startCd
)
this
.
unschedule
(
this
.
startCd
)
console
.
log
(
'pass'
)
exportEvent
.
fire
(
CUSTOM_EVENT
.
PASS_LEVEL
,
{
exportEvent
.
fire
(
CUSTOM_EVENT
.
PASS_LEVEL
,
{
...
this
.
gameConfig
.
LevelInfo
[
this
.
actLevel
],
...
this
.
gameConfig
.
LevelInfo
[
this
.
actLevel
],
score
:
this
.
starNum
,
score
:
this
.
starNum
,
...
...
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