剧情提交
parent
ed9c058ece
commit
fb9d2b7272
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue