灵兽 修改提交

dev_chengFeng
jiaoyangna 2021-04-01 14:56:47 +08:00
parent aa17c175b7
commit ae17483a8e
4 changed files with 9769 additions and 199 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -42,6 +42,7 @@ function PokemonSummonPanel:InitComponent(gameObject)
self.changZhuEffect = Util.GetGameObject(self.transform,"effect/Effect_Dan_changzhu")
self.Effect_Dan_posui = Util.GetGameObject(self.transform,"effect/Effect_Dan_posui")
self.mask = Util.GetGameObject(self.transform,"mask")
self.btnEffect = Util.GetGameObject(self.btn_activate, "UI_Effect_MianBan_GuaJi_Ani")
end
function PokemonSummonPanel:BindEvent()
@ -292,6 +293,7 @@ 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)
orginLayer = self.sortingOrder
end