diff --git a/assets/NJ_game_select/scene/NJ_game_select.ts b/assets/NJ_game_select/scene/NJ_game_select.ts index 4486d881d0e4bb088bc14dd80b12f8b8620cbb63..f76a387f425bd7411b384b82f11bb9e31f5cc15e 100644 --- a/assets/NJ_game_select/scene/NJ_game_select.ts +++ b/assets/NJ_game_select/scene/NJ_game_select.ts @@ -47,6 +47,8 @@ export default class SceneComponent extends MyCocosSceneComponent { } catch (error) { // TODO 三秒内没有检测到对应页ç çš„åŽç»å¤„ç†; å…ˆåŠ ä¸ªæç¤ºæ¡† this.showTips("未检测到对应页é¢"); + circle.active = false; + await this.startStep1(); } } async startStep2() { @@ -112,7 +114,6 @@ export default class SceneComponent extends MyCocosSceneComponent { width: hotRect.width / width, height: hotRect.height / height, } - this.showTips(`p===${p.x}||${p.y}====rect===${rect.x}||${rect.y}||${rect.width}||${rect.height}`); const w = p.x > rect.x && p.x < (rect.x + rect.width); const h = p.y > rect.y && p.y < (rect.y + rect.height); return w && h;