剧情修改提交
parent
bd8fabff53
commit
b345d54cbe
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue