战斗结算界面动效
This commit is contained in:
parent
63f4851117
commit
6527e9f2ec
@ -70,6 +70,9 @@ function BattleResultUI:refreshVictoryNode()
|
|||||||
uiMap["battle_result_ui.defeat_node"]:setActive(false)
|
uiMap["battle_result_ui.defeat_node"]:setActive(false)
|
||||||
uiMap["battle_result_ui.victory_node"]:setActive(true)
|
uiMap["battle_result_ui.victory_node"]:setActive(true)
|
||||||
uiMap["battle_result_ui.victory_node.title_bg.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_5))
|
uiMap["battle_result_ui.victory_node.title_bg.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_5))
|
||||||
|
uiMap["battle_result_ui.victory_node.ui_spine_obj"]:playAnimComplete("born", true, true, function()
|
||||||
|
uiMap["battle_result_ui.victory_node.ui_spine_obj"]:playAnim("idle", true, true)
|
||||||
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function BattleResultUI:refreshDefeatNode()
|
function BattleResultUI:refreshDefeatNode()
|
||||||
@ -79,6 +82,7 @@ function BattleResultUI:refreshDefeatNode()
|
|||||||
uiMap["battle_result_ui.defeat_node"]:setActive(true)
|
uiMap["battle_result_ui.defeat_node"]:setActive(true)
|
||||||
uiMap["battle_result_ui.victory_node"]:setActive(false)
|
uiMap["battle_result_ui.victory_node"]:setActive(false)
|
||||||
uiMap["battle_result_ui.defeat_node.title_bg.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_6))
|
uiMap["battle_result_ui.defeat_node.title_bg.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_6))
|
||||||
|
uiMap["battle_result_ui.defeat_node.ui_spine_obj"]:playAnim("idle", false, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
function BattleResultUI:refreshRewards()
|
function BattleResultUI:refreshRewards()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user