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