【玩家升级】界面表现动效

This commit is contained in:
Fang 2023-06-01 16:09:21 +08:00
parent 03d2625a0c
commit 4f34c587ba

View File

@ -27,6 +27,11 @@ function PlayerLevelUpUI:_display()
self:closeUI()
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()
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))