没有找到剧情继续执行,不卡死
parent
252454272a
commit
412a4ec851
|
@ -460,13 +460,22 @@ function this:ShowDialog()
|
||||||
this:StackPop()
|
this:StackPop()
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
||||||
|
local config = chapterEventPointData[this.curEvent.groups[this.eventIndex]]
|
||||||
|
if not config then
|
||||||
|
this:CloseDiaLog()
|
||||||
|
LogGreen("this.curEvent.groups[this.eventIndex]:"..this.curEvent.groups[this.eventIndex].." this.eventIndex:"..this.eventIndex)
|
||||||
|
if this.go then
|
||||||
|
this.go:StackPop()
|
||||||
|
this.go = nil
|
||||||
|
else
|
||||||
|
this:StackPop()
|
||||||
|
end
|
||||||
|
return
|
||||||
|
end
|
||||||
this.showImg:SetActive(false)
|
this.showImg:SetActive(false)
|
||||||
this.dialog.gameObject:SetActive(true)
|
this.dialog.gameObject:SetActive(true)
|
||||||
this.GoOn.gameObject:SetActive(true)
|
this.GoOn.gameObject:SetActive(true)
|
||||||
local config = chapterEventPointData[this.curEvent.groups[this.eventIndex]]
|
|
||||||
if not config then
|
|
||||||
--LogGreen("this.curEvent.groups[this.eventIndex]:"..this.curEvent.groups[this.eventIndex].." this.eventIndex:"..this.eventIndex)
|
|
||||||
end
|
|
||||||
local showValues = GetLanguageStrById(config.ShowValues)
|
local showValues = GetLanguageStrById(config.ShowValues)
|
||||||
|
|
||||||
local options = config.Option
|
local options = config.Option
|
||||||
|
|
Loading…
Reference in New Issue