From 0e85d88c2126598ae391c8a5aaebb7547511fd81 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Sat, 5 Jun 2021 03:10:19 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=89=A7=E6=83=85=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E8=BF=9E=E7=BB=AD=E8=B7=B3=E8=BF=87=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E5=8D=A1=E6=AD=BB=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Story/StoryMapPanel.lua | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Story/StoryMapPanel.lua b/Assets/ManagedResources/~Lua/Modules/Story/StoryMapPanel.lua index b24f3917a7..1e4c4d478e 100644 --- a/Assets/ManagedResources/~Lua/Modules/Story/StoryMapPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Story/StoryMapPanel.lua @@ -54,12 +54,14 @@ end --绑定事件(用于子类重写) function StoryMapPanel:BindEvent() - Util.AddClick(this.btnSkip, function () - --StoryMapManager.GetSingleStoryConfig() - MsgPanel.ShowTwo("是否跳过这段剧情?",function() end,function() - isSkip = true - this:StackPop() - end,"取消","确认") + Util.AddClick(this.btnSkip, function () + if not isSkip then + --StoryMapManager.GetSingleStoryConfig() + MsgPanel.ShowTwo("是否跳过这段剧情?",function() end,function() + isSkip = true + this:StackPop() + end,"取消","确认") + end end) Util.AddClick(this.btnGoOn, function () this:ShowDialog()