添加资源条
parent
0d18d4595e
commit
838d7108bd
|
@ -40,6 +40,7 @@ function IncarnationPanel:InitComponent()
|
||||||
self.empty = Util.GetGameObject(self.gameObject,"bg/NoneImage")
|
self.empty = Util.GetGameObject(self.gameObject,"bg/NoneImage")
|
||||||
|
|
||||||
self.cardList = {}
|
self.cardList = {}
|
||||||
|
self.UpView = SubUIManager.Open(SubUIConfig.UpView, self.gameObject.transform)
|
||||||
end
|
end
|
||||||
|
|
||||||
function IncarnationPanel:BindEvent()
|
function IncarnationPanel:BindEvent()
|
||||||
|
@ -162,6 +163,7 @@ function IncarnationPanel:OnOpen()
|
||||||
end
|
end
|
||||||
|
|
||||||
function IncarnationPanel:OnShow()
|
function IncarnationPanel:OnShow()
|
||||||
|
self.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.Main })
|
||||||
self:RefreshUpList()
|
self:RefreshUpList()
|
||||||
self:SetSelectBtn()
|
self:SetSelectBtn()
|
||||||
self:RefreshList(false,false)
|
self:RefreshList(false,false)
|
||||||
|
@ -362,6 +364,7 @@ function IncarnationPanel:OnDestroy()
|
||||||
ClearRedPointObject(RedPointType.incarnation_buddish,tabsRedpoints[2].gameObject)
|
ClearRedPointObject(RedPointType.incarnation_buddish,tabsRedpoints[2].gameObject)
|
||||||
ClearRedPointObject(RedPointType.incarnation_demon,tabsRedpoints[3].gameObject)
|
ClearRedPointObject(RedPointType.incarnation_demon,tabsRedpoints[3].gameObject)
|
||||||
ClearRedPointObject(RedPointType.incarnation_taoist,tabsRedpoints[4].gameObject)
|
ClearRedPointObject(RedPointType.incarnation_taoist,tabsRedpoints[4].gameObject)
|
||||||
|
SubUIManager.Close(self.UpView)
|
||||||
end
|
end
|
||||||
|
|
||||||
return IncarnationPanel
|
return IncarnationPanel
|
Loading…
Reference in New Issue