除了中文其他语言不播音效
parent
0991575155
commit
09870ee552
|
@ -106,7 +106,7 @@ function SkillCaster:PlaySkillCastingEffect(combat, skill, func)
|
|||
self.castingNameNode:SetActive(false)
|
||||
end
|
||||
-- 技能名音效
|
||||
if combat.SkillNameVoice then
|
||||
if combat.SkillNameVoice and GetCurLanguage() == 0 then
|
||||
SoundManager.PlaySound(combat.SkillNameVoice)
|
||||
end
|
||||
|
||||
|
|
|
@ -474,7 +474,7 @@ function this.ShowGuide(id)
|
|||
str = string.gsub(str, "}", "</color>")
|
||||
this.desc.text = str
|
||||
end
|
||||
if GuideConfig[id].Audio and GuideConfig[id].Audio ~= "" then
|
||||
if GuideConfig[id].Audio and GuideConfig[id].Audio ~= "" and GetCurLanguage() == 0 then
|
||||
audio = SoundManager.PlaySound(GuideConfig[id].Audio)
|
||||
end
|
||||
PlayUIAnim(this.tipButtomRoot)
|
||||
|
|
Loading…
Reference in New Issue