This commit is contained in:
chenxi 2023-06-06 11:29:34 +08:00
parent d8814f4153
commit f63a2bf876
3 changed files with 6 additions and 10 deletions

View File

@ -29,17 +29,13 @@ AudioManager.EFFECT_ID = {
LINK_SKILL = "assets/arts/sounds/sfx/battle/link_skill.wav",
BATTLE_VICTORY = "assets/arts/sounds/sfx/ui/battle_victory.wav",
BATTLE_DEFEAT = "assets/arts/sounds/sfx/ui/battle_defeat.wav",
SUMMON_START = "assets/arts/sounds/sfx/ui/ui_summon_start.wav",
SUMMON_START = "assets/arts/sounds/sfx/ui/summon_start.wav",
REWARD = "assets/arts/sounds/sfx/ui/reward.wav",
HERO_UP = "assets/arts/sounds/sfx/ui/hero_up.wav",
PLAYER_UP = "assets/arts/sounds/sfx/ui/player_up.wav",
BOSS_WARNING = "assets/arts/sounds/sfx/battle/warning_boss.wav",
LINK_CANCEL = "assets/arts/sounds/sfx/battle/link_cancel.wav",
UI_FUNC_OPEN = "assets/arts/sounds/sfx/ui/ui_func_open.wav", -- 功能解锁
UI_HERO_LV_UP = "assets/arts/sounds/sfx/ui/ui_hero_lv_up.wav", -- 英雄升级
UI_PLAYER_LV_UP = "assets/arts/sounds/sfx/ui/ui_player_lv_up.wav", -- 角色升级
UI_REWARD_GET = "assets/arts/sounds/sfx/ui/ui_reward_get.wav", -- 奖励获取
UI_SUMMON_START = "assets/arts/sounds/sfx/ui/ui_summon_start.wav", -- 抽卡
FUNC_OPEN = "assets/arts/sounds/sfx/ui/func_open.wav",
}
AudioManager.BO_EFFECT_ID = {

View File

@ -20,7 +20,6 @@ function HeroManager:upgradeHero(heroId, heroEntity)
if state == GConst.HeroConst.CHECK_LV_UP_STATE.COIN_NOT_ENOUGH then
ModuleManager.ShopManager:tryTriggerCoinGift()
end
return
end

View File

@ -85,6 +85,7 @@ function ModuleUnlockUI:checkShowNext()
end
end
self:showModuleUnlockAppearAnim()
AudioManager:playEffect(AudioManager.EFFECT_ID.FUNC_OPEN)
end
-- 出现