【特效】优化点对点特效的显示时间,优化特效层级错误的问题
parent
71aa002b13
commit
21e7638a75
|
|
@ -991,7 +991,7 @@ function this.LoadAsset(path, battleSorting)
|
|||
UIManager.DoLanguageCheck(this.spLoader, go)
|
||||
local layer = tonumber(go.name) or 0
|
||||
battleSorting = battleSorting or BattleManager.GetBattleSorting()
|
||||
Util.SetParticleSortLayer(go, battleSorting)-- - layer)
|
||||
Util.AddParticleSortLayer(go, battleSorting - layer)
|
||||
go.name = tostring(battleSorting)
|
||||
return go
|
||||
end
|
||||
|
|
|
|||
|
|
@ -404,7 +404,7 @@ function SkillCaster:CheckFullSceenSkill(combat, skill)
|
|||
|
||||
|
||||
--
|
||||
BattleManager.AddDelayRecycleRes(combat.Bullet, go2, combat.KeyFrame/1000)
|
||||
BattleManager.AddDelayRecycleRes(combat.Bullet, go2, combat.KeyFrame/1000 + 0.2) -- 额外增加0.2秒显示时间
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue