英雄升级特效
This commit is contained in:
parent
e010700340
commit
3c54f4e9c8
@ -74,7 +74,7 @@ function HeroDetailUI:_display(lvChange)
|
|||||||
skillBg:setSprite(GConst.ATLAS_PATH.ICON_SKILL_ROGUE, ModuleManager.HeroManager:getSkillRogueBg(skillId, true))
|
skillBg:setSprite(GConst.ATLAS_PATH.ICON_SKILL_ROGUE, ModuleManager.HeroManager:getSkillRogueBg(skillId, true))
|
||||||
if i == activeCount and lvChange and self.heroEntity:getLv() == skillLvs[i] then
|
if i == activeCount and lvChange and self.heroEntity:getLv() == skillLvs[i] then
|
||||||
local x, y = skillBg:fastGetAnchoredPosition()
|
local x, y = skillBg:fastGetAnchoredPosition()
|
||||||
self.spineObjSkill:setLocalPosition(x, y)
|
self.spineObjSkill:setAnchoredPosition(x, y)
|
||||||
self.spineObjSkill:setVisible(true)
|
self.spineObjSkill:setVisible(true)
|
||||||
self.spineObjSkill:playAnim("idle", false, true)
|
self.spineObjSkill:playAnim("idle", false, true)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user