From 655a4eef567447d6392e8b00dca1000ffd087786 Mon Sep 17 00:00:00 2001 From: panfudan Date: Fri, 25 Jul 2025 22:26:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=8B=B1=E9=9B=84=E4=B8=8D?= =?UTF-8?q?=E5=90=8C=E7=B1=BB=E5=9E=8B=20=E5=87=BA=E7=94=9F=E7=82=B9?= =?UTF-8?q?=E4=B8=8D=E5=90=8C,=E5=8E=BB=E6=8E=89=E8=83=BD=E9=87=8F?= =?UTF-8?q?=E5=A2=9E=E9=95=BF=E6=96=B9=E5=BC=8F=E7=9A=84=E4=B8=8D=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/resources/gui/role_controller.prefab | 2 +- assets/script/game/hero/Hero.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index b1039b08..bead2a93 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -6696,7 +6696,7 @@ "__id__": 294 } ], - "_active": true, + "_active": false, "_components": [ { "__id__": 302 diff --git a/assets/script/game/hero/Hero.ts b/assets/script/game/hero/Hero.ts index b21cd2f9..0a985fe8 100644 --- a/assets/script/game/hero/Hero.ts +++ b/assets/script/game/hero/Hero.ts @@ -46,7 +46,7 @@ export class Hero extends ecs.Entity { var scene = smc.map.MapView.scene; node.parent = scene.entityLayer!.node! let pos=HeroPos[0].pos - if(HeroInfo[uuid].type==HType.warrior) pos=HeroPos[1].pos + // if(HeroInfo[uuid].type==HType.warrior) pos=HeroPos[1].pos node.setPosition(pos) var hv = this.hero_init(uuid,node) hv.scale = 1;