diff --git a/Assets/ManagedResources/~Lua/Modules/Practice/PracticePanel.lua b/Assets/ManagedResources/~Lua/Modules/Practice/PracticePanel.lua index 06b4723d9f..3778877c3e 100644 --- a/Assets/ManagedResources/~Lua/Modules/Practice/PracticePanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Practice/PracticePanel.lua @@ -133,7 +133,6 @@ function Practice:BindEvent() if self.pointList and #self.pointList > 0 then for i = 1, #self.pointList do Util.GetGameObject(self.pointList[i],"looping"):SetActive(false) - self.pointList[i]:GetComponent("Image").color = Color.New(1,1,1,1) end end Timer.New(function () @@ -296,7 +295,7 @@ function Practice:OnSortingOrderChange() self.ManCanvas.sortingOrder = self.sortingOrder + 2 if self.effectPointsList then for i = 1, #self.effectPointsList do - Util.SetParticleSortLayer(self.effectPointsList[i], self.sortingOrder+1) + Util.SetParticleSortLayer(self.effectPointsList[i], self.sortingOrder+2) end end -- 头像层级 @@ -377,14 +376,13 @@ function Practice:RefreshPoints() end self.pointList[i]:SetActive(true) self.pointList[i]:GetComponent("Image").sprite = self.spLoader:LoadSprite(data.Img) - self.pointList[i]:GetComponent("Image").color = Color.New(1,1,1, data.State == 1 and 0 or 1) self.pointList[i]:GetComponent("RectTransform").localPosition = data.Pos self.effectPointsList[i] = Util.GetGameObject(self.pointList[i],"looping") self.effectPointsList[i]:SetActive(data.State == 1) self.effectUpgradeList[i] = Util.GetGameObject(self.pointList[i],"Fx_xiuxing_qiu_brust") -- LogGreen("self.sortingOrder:"..tostring(self.sortingOrder)) - Util.SetParticleSortLayer(self.effectPointsList[i], self.sortingOrder+1) - Util.SetParticleSortLayer(self.effectUpgradeList[i], self.sortingOrder+1) + Util.SetParticleSortLayer(self.effectPointsList[i], self.sortingOrder+2) + Util.SetParticleSortLayer(self.effectUpgradeList[i], self.sortingOrder+2) -- self.effectUpgradeList[i]:SetActive(false) Util.AddOnceClick(self.pointList[i],function () UIManager.OpenPanel(UIName.GeneralInfoPopup,GENERALINFO_TYPE.PracticeLevel,data)