Commit 38249972 authored by 范雪寒's avatar 范雪寒

test: logs

parent 3528229e
......@@ -35,6 +35,16 @@ cc.Class({
onLoad() {
this.initSceneData();
this.initSize();
const canvas = cc.find("Canvas");
canvas.on("mousemove", function () { });
cc.director._scene.on("mousemove", function () {
console.log('喵喵喵')
});
cc.director._scene.on("thoucmove", function () {
console.log('汪汪汪')
});
},
_imageResList: null,
......
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