【玩家升级】界面表现动效
This commit is contained in:
parent
03d2625a0c
commit
4f34c587ba
@ -27,6 +27,11 @@ function PlayerLevelUpUI:_display()
|
|||||||
self:closeUI()
|
self:closeUI()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
local spineTitle = uiMap["player_level_up_ui.spine_title"]
|
||||||
|
spineTitle:playAnimComplete("idle1", false, false, function()
|
||||||
|
spineTitle:playAnim("idle2", true, false)
|
||||||
|
end)
|
||||||
|
|
||||||
local toLevel = DataManager.PlayerData:getLv()
|
local toLevel = DataManager.PlayerData:getLv()
|
||||||
uiMap["player_level_up_ui.title_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.PLAYER_LEVEL_UP_DESC, toLevel))
|
uiMap["player_level_up_ui.title_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.PLAYER_LEVEL_UP_DESC, toLevel))
|
||||||
uiMap["player_level_up_ui.reward_title"]:setText(I18N:getGlobalText(I18N.GlobalConst.LEVEL_UP_REWARD))
|
uiMap["player_level_up_ui.reward_title"]:setText(I18N:getGlobalText(I18N.GlobalConst.LEVEL_UP_REWARD))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user