Commit 1210959f authored by unknown's avatar unknown

解决转瞬即逝重新加载报错问题

parent f1e74158
...@@ -248,6 +248,11 @@ export class BombDisposalExpertCtr extends Component { ...@@ -248,6 +248,11 @@ export class BombDisposalExpertCtr extends Component {
}); });
} }
onDestroy(){
director.off("begin_countdown_end");
director.off("continue_game");
}
//找出当前手指所在的点 //找出当前手指所在的点
onTouchMove(event: EventTouch) { onTouchMove(event: EventTouch) {
for (let i = 0; i < this.allSquares.length; ++i) { for (let i = 0; i < this.allSquares.length; ++i) {
......
...@@ -82,7 +82,7 @@ export const levelCfg: OneVarLevelItf[] = [ ...@@ -82,7 +82,7 @@ export const levelCfg: OneVarLevelItf[] = [
desc: "舒尔特古诗", desc: "舒尔特古诗",
levelArr: [{ levelArr: [{
gameId: 1201, gameId: 1201,
sceneUnitIfo: SCENE_DEF.Schulte_poem_6_4, sceneUnitIfo: SCENE_DEF.Schulte_poem_1,
comName: "SchulteCtr", comName: "SchulteCtr",
level: 1, level: 1,
resData: { resData: {
...@@ -91,7 +91,7 @@ export const levelCfg: OneVarLevelItf[] = [ ...@@ -91,7 +91,7 @@ export const levelCfg: OneVarLevelItf[] = [
} }
, { , {
gameId: 1202, gameId: 1202,
sceneUnitIfo: SCENE_DEF.Schulte_poem_6_5, sceneUnitIfo: SCENE_DEF.Schulte_poem_2,
comName: "SchulteCtr", comName: "SchulteCtr",
level: 2, level: 2,
resData: { resData: {
......
...@@ -26,8 +26,8 @@ interface ScenePathItf { ...@@ -26,8 +26,8 @@ interface ScenePathItf {
Schulte_4_4: ScenePathUnitItf, Schulte_4_4: ScenePathUnitItf,
Schulte_5_5: ScenePathUnitItf, Schulte_5_5: ScenePathUnitItf,
Schulte_letter_5_5: ScenePathUnitItf, Schulte_letter_5_5: ScenePathUnitItf,
Schulte_poem_6_4: ScenePathUnitItf, Schulte_poem_1: ScenePathUnitItf,
Schulte_poem_6_5: ScenePathUnitItf, Schulte_poem_2: ScenePathUnitItf,
//独一无二 //独一无二
Unique_1: ScenePathUnitItf, Unique_1: ScenePathUnitItf,
Unique_2: ScenePathUnitItf, Unique_2: ScenePathUnitItf,
...@@ -117,15 +117,15 @@ export const SCENE_DEF: ScenePathItf = { ...@@ -117,15 +117,15 @@ export const SCENE_DEF: ScenePathItf = {
sceneName: "SchulteLetter_5_5", sceneName: "SchulteLetter_5_5",
desc: "舒尔特字母 letter_5x5" desc: "舒尔特字母 letter_5x5"
} }
, Schulte_poem_6_4: { , Schulte_poem_1: {
bundleName: "sceneBundle", bundleName: "sceneBundle",
sceneName: "SchultePoem_6_4", sceneName: "SchultePoem_1",
desc: "舒尔特诗歌 6x4" desc: "舒尔特诗歌 春夜喜雨"
} }
, Schulte_poem_6_5: { , Schulte_poem_2: {
bundleName: "sceneBundle", bundleName: "sceneBundle",
sceneName: "SchultePoem_6_5", sceneName: "SchultePoem_2",
desc: "舒尔特诗歌 6x5" desc: "舒尔特诗歌 绝句"
} }
, Unique_1: { , Unique_1: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment