【福星高照】关闭upview
parent
314301c3b0
commit
3e6d68ee34
|
@ -21,7 +21,6 @@ function FuXingGaoZhao:InitComponent()
|
|||
table.insert(rewardList,self.mid.transform:GetChild(i-1))
|
||||
end
|
||||
end
|
||||
self.UpView = SubUIManager.Open(SubUIConfig.UpView, self.gameObject.transform, { showType = UpViewOpenType.ShowLeft})
|
||||
end
|
||||
--绑定事件(用于子类重写)
|
||||
function FuXingGaoZhao:BindEvent()
|
||||
|
@ -72,7 +71,6 @@ end
|
|||
--界面打开时调用(用于子类重写)
|
||||
function FuXingGaoZhao:OnOpen(_func)
|
||||
func = _func
|
||||
self.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.Main})
|
||||
end
|
||||
|
||||
-- 打开,重新打开时回调
|
||||
|
@ -165,7 +163,6 @@ function FuXingGaoZhao:OnDestroy()
|
|||
end
|
||||
itemPreList={}
|
||||
rewardList={}
|
||||
SubUIManager.Close(self.UpView)
|
||||
end
|
||||
|
||||
return FuXingGaoZhao
|
Loading…
Reference in New Issue