Merge branch 'china/dev-c' of http://60.1.1.230/gaoxin/JL_Client into china/dev-c
commit
e8421f8223
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 144 KiB |
|
|
@ -34,9 +34,6 @@ function TreasureStorePopup:InitComponent()
|
|||
table.insert(effectList,Util.GetGameObject(this.panel,"Fx_moon"))
|
||||
this.Fx_Ripple = Util.GetGameObject(this.panel,"Fx_Ripple")
|
||||
table.insert(effectList,this.Fx_Ripple)
|
||||
this.scrollView:ForeachItemGO(function(index,go)
|
||||
table.insert(effectList,Util.GetGameObject(go,"Fx_Circle"))
|
||||
end)
|
||||
this.lianyiBtn = Util.GetGameObject(this.panel,"lianyiBtn")
|
||||
end
|
||||
|
||||
|
|
@ -96,8 +93,11 @@ end
|
|||
|
||||
function TreasureStorePopup:OnSortingOrderChange()
|
||||
for i = 1,#effectList do
|
||||
Util.SetParticleSortLayer(effectList[i], self.sortingOrder - orginLayer)
|
||||
Util.SetParticleSortLayer(effectList[i], self.sortingOrder + 1)
|
||||
end
|
||||
this.scrollView:ForeachItemGO(function(index,go)
|
||||
Util.SetParticleSortLayer(Util.GetGameObject(go,"Fx_Circle"), self.sortingOrder + 1)
|
||||
end)
|
||||
orginLayer = self.sortingOrder
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue