From d00d3e803cfc0e7286ad2295fb7ef50c149df448 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Tue, 3 Nov 2020 01:00:27 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=95=86=E5=BA=97=E3=80=91=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=95=86=E5=BA=97=E7=9A=84=E5=8A=A8=E7=94=BB=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Common/functions.lua | 2 +- Assets/ManagedResources/~Lua/View/ShopView.lua | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Common/functions.lua b/Assets/ManagedResources/~Lua/Common/functions.lua index 33e9d7dbe9..f82b0da42d 100644 --- a/Assets/ManagedResources/~Lua/Common/functions.lua +++ b/Assets/ManagedResources/~Lua/Common/functions.lua @@ -314,7 +314,7 @@ function SecTorPlayAnimByScroll(scroll,_scale) end scroll:ForeachItemGO(function (index, go) Timer.New(function () - -- go.gameObject:SetActive(true) + go.gameObject:SetActive(true) PlayUIAnim(go.gameObject) end, scale*(index-1)):Start() end) diff --git a/Assets/ManagedResources/~Lua/View/ShopView.lua b/Assets/ManagedResources/~Lua/View/ShopView.lua index e1af724942..72ac288f12 100644 --- a/Assets/ManagedResources/~Lua/View/ShopView.lua +++ b/Assets/ManagedResources/~Lua/View/ShopView.lua @@ -413,10 +413,10 @@ function this:RefreshItemList(isTop) if isTop then self.ScrollView:SetIndex(1) end - if isPlayShow then - SecTorPlayAnimByScroll(self.ScrollView,0.03) - isPlayShow = false - end + -- if isPlayShow then + -- -- SecTorPlayAnimByScroll(self.ScrollView, 0.03) + -- isPlayShow = false + -- end end end