适配修改提交
parent
e96d6e5744
commit
99ca3a60eb
File diff suppressed because it is too large
Load Diff
|
@ -5,7 +5,7 @@ local ArenaTrialPanel = Inherit(BasePanel)
|
||||||
function ArenaTrialPanel:InitComponent()
|
function ArenaTrialPanel:InitComponent()
|
||||||
self.spLoader = SpriteLoader.New()
|
self.spLoader = SpriteLoader.New()
|
||||||
self.UpView = SubUIManager.Open(SubUIConfig.UpView, self.transform)
|
self.UpView = SubUIManager.Open(SubUIConfig.UpView, self.transform)
|
||||||
self.btnBack = Util.GetGameObject(self.gameObject,"bg/BackBtn")
|
self.btnBack = Util.GetGameObject(self.gameObject,"BackBtn")
|
||||||
self.liveRoot = Util.GetGameObject(self.gameObject,"bg/ren")
|
self.liveRoot = Util.GetGameObject(self.gameObject,"bg/ren")
|
||||||
self.helpBtn = Util.GetGameObject(self.gameObject, "helpBtn")
|
self.helpBtn = Util.GetGameObject(self.gameObject, "helpBtn")
|
||||||
self.helpPosition = self.helpBtn:GetComponent("RectTransform").localPosition
|
self.helpPosition = self.helpBtn:GetComponent("RectTransform").localPosition
|
||||||
|
@ -37,6 +37,7 @@ end
|
||||||
--绑定事件(用于子类重写)
|
--绑定事件(用于子类重写)
|
||||||
function ArenaTrialPanel:BindEvent()
|
function ArenaTrialPanel:BindEvent()
|
||||||
Util.AddClick(self.btnBack, function()
|
Util.AddClick(self.btnBack, function()
|
||||||
|
LogError("self.btnBack....")
|
||||||
self:ClosePanel()
|
self:ClosePanel()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue