From 8a1a77bd529843d6133b94d2c641ed01ff649638 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <419983115@qq.com> Date: Fri, 22 Nov 2024 20:05:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=B7=E8=B4=BC=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/View/Unit/MonsterView.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/MonsterView.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/MonsterView.lua index 01c997a308..b3d9392e2a 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/MonsterView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/MonsterView.lua @@ -38,9 +38,9 @@ function MonsterView:onCreate(go, role, position, root) end if role.roleData.id == 20100 then if role.sex == ROLE_SEX.BOY then - self.livePath = "live2d_caomaolufeizhanshi" + self.livePath = "10002_show" else - self.livePath = "live2d_namei" + self.livePath = "10003_show" end -- 确定是主角 self.isMainPlayer = true @@ -70,6 +70,7 @@ function MonsterView:onCreate(go, role, position, root) -- end -- 人物立绘 + LogError("self.livePath==============="..self.livePath) self.RoleLiveGO = poolManager:LoadLive(self.livePath, self.skillCastRoot.transform.parent, Vector3.one, Vector3.zero) self.RoleLiveGO.transform:SetParent(self.liveRoot.transform) self.RoleLiveGO:GetComponent("RectTransform").anchoredPosition = Vector2.New(self.outOffset[1], self.outOffset[2])-- * 0.5