Commit 5273b826 authored by 范雪寒's avatar 范雪寒

feat:

parent ac295358
......@@ -262,6 +262,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
(partImg.parent.width / partImg.width) * (bgRect.width / rect.width),
(partImg.parent.height / partImg.height) * (bgRect.height / rect.height)
);
console.log('partImg.scale = ' + partImg.scale);
console.log('partImg.x = ' + partImg.x);
console.log('partImg.y = ' + partImg.y);
});
const book_left = cc.find('Canvas/step1/book_left');
......
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