From f42141a40eba0c7a3f3ae9acd12846b9f93673e4 Mon Sep 17 00:00:00 2001 From: xiejun <467745540@qq.com> Date: Wed, 30 Aug 2023 21:31:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=81=B5=E5=85=BD=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/View/Unit/MonsterView.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)