[飞升]======飞升特效适配
parent
5a66722aed
commit
9831008684
|
@ -155,6 +155,7 @@ function this:Refresh(_data,_item)
|
|||
starSize = Vector2.New(36.868,39.76)
|
||||
end
|
||||
SetHeroStars(this.spLoader, _item.heroList[pos].starGrid, star,starType,starSize,starScale)
|
||||
SetHeroFlyEffect(_item.heroList[pos].hero,this.spLoader,star,sortingOrder+1,0.5,2)
|
||||
Util.SetParticleSortLayer( _item.heroList[pos].starGrid,sortingOrder + 1)
|
||||
local demonId = heroData.id
|
||||
local heroConfig = ConfigManager.GetConfigData(ConfigName.HeroConfig, demonId)
|
||||
|
|
|
@ -397,6 +397,7 @@ function this.RefreshFormation(_item,_data)
|
|||
starSize = Vector2.New(36.868,39.76)
|
||||
end
|
||||
SetHeroStars(this.spLoader, _item.heroList[pos].starGrid, star,starType,starSize,starScale)
|
||||
SetHeroFlyEffect(_item.heroList[pos].hero,this.spLoader,star,sortingOrder+1,0.5,2)
|
||||
Util.SetParticleSortLayer( _item.heroList[pos].starGrid,sortingOrder + 1)
|
||||
local demonId = heroData.id
|
||||
local heroConfig = ConfigManager.GetConfigData(ConfigName.HeroConfig, demonId)
|
||||
|
|
|
@ -409,7 +409,7 @@ function this.FormationAdapter(teamInfo)
|
|||
this.Demons[hero.position].levelText.text = hero.level
|
||||
this.Demons[hero.position].frame.sprite = this.spLoader:LoadSprite(GetQuantityImageByquality(heroConfig.Quality, hero.star))
|
||||
SetHeroIcon(this.spLoader, hero,this.Demons[hero.position].icon,heroConfig)
|
||||
SetHeroFlyEffect(this.Demons[hero.position].hero,this.spLoader,hero.star,this.sortingOrder+1,1)
|
||||
SetHeroFlyEffect(this.Demons[hero.position].hero,this.spLoader,hero.star,this.sortingOrder+1,0.9)
|
||||
local heroData = {}
|
||||
if this._Config.formationType == FormationTypeDef.FORMATION_TSLX then
|
||||
Util.AddOnceClick(this.Demons[hero.position].frameBtn, function()
|
||||
|
|
Loading…
Reference in New Issue