剧情提交

dev_chengFeng
jiaoyangna 2021-04-29 17:44:35 +08:00
parent ed9c058ece
commit fb9d2b7272
2 changed files with 2 additions and 4 deletions

View File

@ -446,7 +446,6 @@ function this.ExecuteBehavior(beType, beArgs)
this.tipButtomRoot:SetActive(false)
local isSkip=false
local function OnBtnClick(id,str)
LogError("11111111111111111111111111")
nextDelayTime=0
nextDelayChange=true
isSkip=true
@ -462,7 +461,6 @@ function this.ExecuteBehavior(beType, beArgs)
Game.GlobalEvent:RemoveEvent(GameEvent.UI.OnUpdateData, OnUpdateData)
return
end
LogError("22222222222")
nextDelayTime=0
nextDelayChange=true
-- 先跳转引导
@ -475,13 +473,11 @@ end
function this.ShowStory(nextId,OnFocus)
if StoryMapManager.isShowStory ~= 0 then
StoryMapManager.isShowStory = 0
local isShowStory = 1
if PlayerPrefs.HasKey("StoryMapPanel"..StoryMapManager.isShowStory..PlayerManager.uid) then
isShowStory = PlayerPrefs.GetInt("StoryMapPanel"..StoryMapManager.isShowStory..PlayerManager.uid)
end
if isShowStory == 1 then
LogGreen("this.gameObject:"..this.gameObject.name)
this.gameObject:SetActive(false)
local function onCloseStoryMapPanel()
this.GameSetActive(nextId, OnFocus)

View File

@ -15,6 +15,7 @@ function this.InitData(groupId)
end
function this.InitGroupIds(groupId)
LogGreen("groupId:"..groupId)
local config = storyMapConfig[groupId]
table.insert(this.groupConfigs,config)
if config.NextId and config.NextId > 0 then
@ -32,6 +33,7 @@ function this.GetSingleStoryConfig()
UIManager.OpenPanel(UIName.StoryMapPanel,config)
table.remove(this.groupConfigs,1)
else
StoryMapManager.isShowStory = 0
Game.GlobalEvent:DispatchEvent(GameEvent.GuaJi.CloseStoryMapPanel)
end
end