diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/MonsterView.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/MonsterView.lua index 23c93f0af1..d4c717ccef 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/MonsterView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/MonsterView.lua @@ -110,8 +110,8 @@ function MonsterView:onCreate(go, role, position, root) -- casting技能立绘 self.RoleLiveGO2=nil - self.livePath2=GetResourcePath(HeroConfig[role.roleData.roleId].Painting) - self.RoleLiveGO2 = poolManager:LoadLive(self.livePath2, self.skillCastRoot.gameObject.transform.parent, Vector3.one, Vector3.zero) + -- self.livePath2=GetResourcePath(HeroConfig[role.roleData.roleId].Painting) + self.RoleLiveGO2 = poolManager:LoadLive(self.livePath, self.skillCastRoot.gameObject.transform.parent, Vector3.one, Vector3.zero) self.RoleLiveGO2.transform:SetParent(self.skillCastRoot.gameObject.transform) local offset = self.camp == 0 and self.offset or self.outOffset @@ -321,7 +321,7 @@ function MonsterView:onDispose() Util.SetSpineGray(self.RoleLiveGOGraphic2, false) Util.SetColor(self.RoleLiveGOGraphic2, Color.New(1, 1, 1, 1)) self.RoleLiveGOGraphic2.freeze = false - poolManager:UnLoadLive(self.livePath2, self.RoleLiveGO2) + --poolManager:UnLoadLive(self.livePath2, self.RoleLiveGO2) poolManager:UnLoadLive(self.livePath, self.RoleLiveGO) -- poolManager:UnLoadLive(self.combat2.CloseRangeHit, self.RoleSkillLiveGo2) -- poolManager:UnLoadLive(self.combat.CloseRangeHit, self.RoleSkillLiveGo)