Commit 3ce83ba0 authored by liujiangnan's avatar liujiangnan

debug

parent ba8859c4
......@@ -178,6 +178,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
cc.find(`middleLayer/debug`).x = 100;
cc.find(`middleLayer/debug`).getComponent(cc.Label).string = `debug: ${Math.floor(p.x * 100)/100} , ${Math.floor(p.y * 100)/100}`;
cc.find(`middleLayer/debug`).getComponent(cc.Label).fontSize = 100;
// if (checkInRegion(p)) {
// // 检测成功
// window["courseware"].closeOsmoFingerRead();
......
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