修改报错位置
parent
a302f27844
commit
e37673657a
|
|
@ -1064,6 +1064,10 @@ function RoleInfoPanel:OnClose()
|
||||||
poolManager:UnLoadLive(this.curLiveObj.name, this.curLiveObj)
|
poolManager:UnLoadLive(this.curLiveObj.name, this.curLiveObj)
|
||||||
this.curLiveObj = nil
|
this.curLiveObj = nil
|
||||||
end
|
end
|
||||||
|
if this.bgLive then
|
||||||
|
poolManager:UnLoadLive(this.bgLive.name, this.bgLive)
|
||||||
|
this.bgLive = nil
|
||||||
|
end
|
||||||
this.leftBtn:GetComponent("Button").enabled = true
|
this.leftBtn:GetComponent("Button").enabled = true
|
||||||
this.rightBtn:GetComponent("Button").enabled = true
|
this.rightBtn:GetComponent("Button").enabled = true
|
||||||
Util.ClearChild(this.curObj.transform)
|
Util.ClearChild(this.curObj.transform)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue