From 5273b8262d431e661dde132525545d45e7c209ef Mon Sep 17 00:00:00 2001 From: fanxuehan <fanxuehan@qq.com> Date: Mon, 30 May 2022 17:47:05 +0800 Subject: [PATCH] feat: --- assets/NJ_game_select/scene/NJ_game_select.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/NJ_game_select/scene/NJ_game_select.ts b/assets/NJ_game_select/scene/NJ_game_select.ts index f71b6f7..6f73f31 100644 --- a/assets/NJ_game_select/scene/NJ_game_select.ts +++ b/assets/NJ_game_select/scene/NJ_game_select.ts @@ -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'); -- 2.21.0