【bug】修复魂印穿戴报错

dev_chengFeng
JieLing 2020-12-30 17:03:12 +08:00
parent e8ea367a6e
commit 4d983406f3
1 changed files with 5 additions and 5 deletions

View File

@ -70,7 +70,7 @@ function SoulPrintPanel:InitComponent()
this.scrollView.moveTween.MomentumAmount = 1 this.scrollView.moveTween.MomentumAmount = 1
this.scrollView.moveTween.Strength = 2 this.scrollView.moveTween.Strength = 2
this.SetIsShow() this.SetIsShow()
this.BgMask = Util.GetGameObject(this.gameObject,"bgMask") -- this.BgMask = Util.GetGameObject(this.gameObject,"bgMask")
end end
function SoulPrintPanel:BindEvent() function SoulPrintPanel:BindEvent()
@ -360,10 +360,10 @@ function this.SetScrollData()
isFristOpenTime:Stop() isFristOpenTime:Stop()
isFristOpenTime = nil isFristOpenTime = nil
end end
isFristOpenTime = Timer.New(function() -- isFristOpenTime = Timer.New(function()
this.BgMask:SetActive(false) -- this.BgMask:SetActive(false)
end, 1):Start() -- end, 1):Start()
this.BgMask:SetActive(true) -- this.BgMask:SetActive(true)
SecTorPlayAnimByScroll(this.scrollView) SecTorPlayAnimByScroll(this.scrollView)
isPlayAnim = false isPlayAnim = false
end end