Commit ba8859c4 authored by liujiangnan's avatar liujiangnan

debug

parent 21316242
......@@ -176,7 +176,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (p.x == -1 || p.y == -1) {
return;
}
cc.find(`middleLayer/debug`).getComponent(cc.Label).string = `debug: ${p.x} , ${p.y}`;
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}`;
// 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