Commit 21316242 authored by liujiangnan's avatar liujiangnan

debug

parent dcd0b7bb
......@@ -176,11 +176,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (p.x == -1 || p.y == -1) {
return;
}
if (checkInRegion(p)) {
// 检测成功
window["courseware"].closeOsmoFingerRead();
resolve();
}
cc.find(`middleLayer/debug`).getComponent(cc.Label).string = `debug: ${p.x} , ${p.y}`;
// if (checkInRegion(p)) {
// // 检测成功
// window["courseware"].closeOsmoFingerRead();
// resolve();
// }
};
window["courseware"].openOsmoFingerRead({
"page": false,
......
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