diff --git a/Assets/ManagedResources/~Lua/Modules/Pokemon/PokemonSummonPanel.lua b/Assets/ManagedResources/~Lua/Modules/Pokemon/PokemonSummonPanel.lua index 7657af5d82..f4331abde1 100644 --- a/Assets/ManagedResources/~Lua/Modules/Pokemon/PokemonSummonPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Pokemon/PokemonSummonPanel.lua @@ -95,6 +95,10 @@ function PokemonSummonPanel:OnShow() end self:refreshBtnShow()--刷新按钮显示 self:timeCountDown()--时间 + + Util.SetParticleSortLayer(self.changZhuEffect, self.sortingOrder + 1) + Util.SetParticleSortLayer(self.Effect_Dan_posui, self.sortingOrder + 1) + Util.SetParticleSortLayer(self.btnEffect, self.sortingOrder + 1) end function PokemonSummonPanel:refreshBtnShow() @@ -294,9 +298,13 @@ function PokemonSummonPanel:TimeToDHMS(second) end local orginLayer = 0 function PokemonSummonPanel:OnSortingOrderChange() - Util.AddParticleSortLayer(self.changZhuEffect, self.sortingOrder - orginLayer) - Util.AddParticleSortLayer(self.Effect_Dan_posui, self.sortingOrder - orginLayer) - Util.AddParticleSortLayer(self.btnEffect, self.sortingOrder - orginLayer) + -- Util.AddParticleSortLayer(self.changZhuEffect, self.sortingOrder - orginLayer) + -- Util.AddParticleSortLayer(self.Effect_Dan_posui, self.sortingOrder - orginLayer) + -- Util.AddParticleSortLayer(self.btnEffect, self.sortingOrder - orginLayer) + + Util.SetParticleSortLayer(self.changZhuEffect, self.sortingOrder + 1) + Util.SetParticleSortLayer(self.Effect_Dan_posui, self.sortingOrder + 1) + Util.SetParticleSortLayer(self.btnEffect, self.sortingOrder + 1) orginLayer = self.sortingOrder end