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