剧情修改提交

dev_chengFeng
jiaoyangna 2021-06-01 20:22:14 +08:00
parent bd8fabff53
commit b345d54cbe
2 changed files with 2 additions and 1 deletions

View File

@ -177,7 +177,7 @@ function this.RefreshPanel(eventId, isFirstOpen)
local contexts =(contents[2])
--contexts = string.gsub(contexts, "【此处为玩家名】", PlayerManager.nickName)
contexts = string.gsub(contexts, Language[11248], NameManager.roleName)
contexts = string.gsub(contexts, "{ta}", NameManager.roleSex == ROLE_SEX.BOY and "" or "")
-- 配音资源名
-- local voice = chapterEventPointData[eventId].VoiceRes
-- if voice then

View File

@ -512,6 +512,7 @@ function this:ShowDialog()
local resId = tonumber(contents[1])
local contexts =(contents[2])
contexts = string.gsub(contexts, Language[11248], NameManager.roleName)
contexts = string.gsub(contexts, "{ta}", NameManager.roleSex == ROLE_SEX.BOY and "" or "")
--this.diaLogNameText.text = ""
ShowText(this.diaLogContent.transform, contexts, 1)
this.SetList2d(resId,setId,live2dRoot)