[飞升]=====细节调整
parent
109648ae93
commit
6ef00a4498
|
@ -827,7 +827,7 @@ function this.SingleHeroDataShow(_go, _heroData)
|
|||
starSize = Vector2.New(60,57)
|
||||
end
|
||||
SetHeroStars(this.spLoader, starGrid, star,starType,starSize,starScale)
|
||||
local effect=SetHeroFlyEffect(go,this.spLoader,heroData.star,this.sortingOrder,1,3)
|
||||
local effect=SetHeroFlyEffect(go,this.spLoader,heroData.star,this.sortingOrder,1,4)
|
||||
if effect then
|
||||
local meshs2=effect:GetComponentsInChildren(typeof(UnityEngine.SkinnedMeshRenderer))
|
||||
for key, value in pairs(meshs2:ToTable()) do
|
||||
|
|
|
@ -429,7 +429,7 @@ function this.GetSkillsData()
|
|||
|
||||
heroSkill.Skilltips = nil
|
||||
|
||||
local OpenPassiveSkillRules = curHeroData.star == HeroManager.awakeNextStarIndex and curHeroData.heroConfig.Awaken or curHeroData.heroConfig.OpenPassiveSkillRules
|
||||
local OpenPassiveSkillRules = curHeroData.star >= HeroManager.awakeNextStarIndex and curHeroData.heroConfig.Awaken or curHeroData.heroConfig.OpenPassiveSkillRules
|
||||
if OpenPassiveSkillRules then
|
||||
local openlists,compoundOpenNum,compoundNum,allUpStarOpenData = HeroManager.GetAllPassiveSkillIds(curHeroData.heroConfig,curHeroData.breakId,curHeroData.upStarId)
|
||||
heroSkill.Name = #openlists - compoundOpenNum .."/"..#OpenPassiveSkillRules - compoundNum
|
||||
|
|
|
@ -80,7 +80,7 @@ function RoleListPanel:InitComponent()
|
|||
|
||||
if not this.playerInfoView then
|
||||
this.playerInfoView = SubUIManager.Open(SubUIConfig.PlayerInfoView, this.transform)
|
||||
this.playerInfoView.gameObject:AddComponent(typeof(UnityEngine.Canvas)).overrideSorting=true
|
||||
-- this.playerInfoView.gameObject:AddComponent(typeof(UnityEngine.Canvas)).overrideSorting=true
|
||||
--this.playerInfoView.overrideSorting=true
|
||||
end
|
||||
this.BtView =SubUIManager.Open(SubUIConfig.BtView, self.gameObject.transform)
|
||||
|
@ -182,8 +182,8 @@ function this:OnSortingOrderChange()
|
|||
|
||||
-- -- 头像层级
|
||||
if this.playerInfoView then
|
||||
this.playerInfoView:SetLayer(self.sortingOrder+2)
|
||||
SetParticleSortLayer(this.playerInfoView,self.sortingOrder+2)
|
||||
--this.playerInfoView:SetLayer(self.sortingOrder+2)
|
||||
--SetParticleSortLayer(this.playerInfoView,self.sortingOrder+2)
|
||||
end
|
||||
-- if this.UpView then
|
||||
-- SetParticleSortLayer(this.UpView,self.sortingOrder+2)
|
||||
|
|
Loading…
Reference in New Issue