剧情 提交

dev_chengFeng
jiaoyangna 2021-04-26 18:57:54 +08:00
parent 637aa36041
commit 8b8d0a3956
1 changed files with 8 additions and 3 deletions

View File

@ -10,6 +10,7 @@ local artResConfig = ConfigManager.GetConfig(ConfigName.ArtResourcesConfig)
local curGroupConfig = {}
this.eventIndex = 0
this.showDiaLog = false
local lastLive2DId = 0
--初始化组件(用于子类重写)
@ -222,6 +223,7 @@ end
function this:ShowDialog()
this.eventIndex = this.eventIndex + 1
if #this.curEvent.groups < this.eventIndex then
this.showDiaLog = false
this.dialog.gameObject:SetActive(false)
this.GoOn.gameObject:SetActive(false)
this.showImg:SetActive(false)
@ -255,7 +257,10 @@ function this:ShowDialog()
--this.diaLogNameText.text = ""
ShowText(this.diaLogContent.transform, contexts, 3)
this.SetList2d(resId,setId,live2dRoot)
PlayUIAnim(this.gameObject)
if not this.showDiaLog then
PlayUIAnim(this.gameObject)
this.showDiaLog = true
end
--this.diaLogContent.text = contexts
end
end
@ -317,7 +322,7 @@ function this:RunMap()
for k,v in pairs(this.PlayerGrouops) do
v:RunMap()
end
end,0.5)
end,0.1)
this.startTimer:Start()
if this.startTimer1 then
@ -343,7 +348,7 @@ function this:RunMap()
if this.startTimer then
this.startTimer1:Start()
end
end,1,1,false):Start()
end,0.2,1,false):Start()
end
function StoryMapPanel:OnSortingOrderChange()