【森罗幻境】森罗幻境神魂特效穿透
parent
3dffd71924
commit
fc38e204ce
|
|
@ -293,6 +293,11 @@ function this.OnPowerValueChange()
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.OnSortingOrderChange()
|
function this.OnSortingOrderChange()
|
||||||
|
if this.starGridList then
|
||||||
|
for _, starGrid in pairs(this.starGridList) do
|
||||||
|
Util.SetParticleSortLayer(starGrid,MapPanel.sortingOrder + 1)
|
||||||
|
end
|
||||||
|
end
|
||||||
Util.AddParticleSortLayer(this.chufa, MapPanel.sortingOrder - orginLayer)
|
Util.AddParticleSortLayer(this.chufa, MapPanel.sortingOrder - orginLayer)
|
||||||
orginLayer = MapPanel.sortingOrder
|
orginLayer = MapPanel.sortingOrder
|
||||||
end
|
end
|
||||||
|
|
@ -450,6 +455,8 @@ function TrialMapPanel:OnDestroy()
|
||||||
this.spLoader:Destroy()
|
this.spLoader:Destroy()
|
||||||
ClearRedPointObject(RedPointType.TrialReward)
|
ClearRedPointObject(RedPointType.TrialReward)
|
||||||
SubUIManager.Close(this.upView)
|
SubUIManager.Close(this.upView)
|
||||||
|
-- 清空数据
|
||||||
|
this.starGridList = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -499,6 +506,10 @@ function this.SetSelectHero(isFirstIn,isFirstData,isMainIn)
|
||||||
pro.sprite=this.spLoader:LoadSprite(GetProStrImageByProNum(heroConfig[v.tmpId].PropertyName))
|
pro.sprite=this.spLoader:LoadSprite(GetProStrImageByProNum(heroConfig[v.tmpId].PropertyName))
|
||||||
lv.text=v.level
|
lv.text=v.level
|
||||||
local star,starType = GetStarOrGodSoulLv(1,v)
|
local star,starType = GetStarOrGodSoulLv(1,v)
|
||||||
|
if not this.starGridList then
|
||||||
|
this.starGridList = {}
|
||||||
|
end
|
||||||
|
this.starGridList[i] = starGrid
|
||||||
SetHeroStars(this.spLoader, starGrid, star,starType)
|
SetHeroStars(this.spLoader, starGrid, star,starType)
|
||||||
Util.SetParticleSortLayer(starGrid,MapPanel.sortingOrder + 1)
|
Util.SetParticleSortLayer(starGrid,MapPanel.sortingOrder + 1)
|
||||||
--选择
|
--选择
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue