[皮肤]修改提交

dev_chengFeng
jiaoyangna 2020-11-06 21:05:39 +08:00
parent 93d9212f85
commit 3a481d6d5f
2 changed files with 11 additions and 8 deletions

View File

@ -63737,7 +63737,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &3651492194596798470
RectTransform:
m_ObjectHideFlags: 0
@ -79779,7 +79779,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &4414717549777261857
RectTransform:
m_ObjectHideFlags: 0
@ -82791,7 +82791,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &6944843860791029965
RectTransform:
m_ObjectHideFlags: 0
@ -84645,7 +84645,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &6109564688861603607
RectTransform:
m_ObjectHideFlags: 0
@ -85455,7 +85455,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &165780861447383144
RectTransform:
m_ObjectHideFlags: 0

View File

@ -588,15 +588,15 @@ end
--界面关闭时调用(用于子类重写)
function RoleInfoPanel:OnClose()
if this.leftLiveObj and leftHeroData then
poolManager:UnLoadLive(leftHeroData.live, this.leftLiveObj)
poolManager:UnLoadLive(this.leftLiveObj.name, this.leftLiveObj)
this.leftLiveObj = nil
end
if this.rightLiveObj and rightHeroData then
poolManager:UnLoadLive(rightHeroData.live, this.rightLiveObj)
poolManager:UnLoadLive(this.rightLiveObj.name, this.rightLiveObj)
this.rightLiveObj = nil
end
if this.curLiveObj and curHeroData then
poolManager:UnLoadLive(curHeroData.live, this.curLiveObj)
poolManager:UnLoadLive(this.curLiveObj.name, this.curLiveObj)
this.curLiveObj = nil
end
this.leftBtn:GetComponent("Button").enabled = true
@ -605,6 +605,9 @@ function RoleInfoPanel:OnClose()
this.PageList[_CurPageIndex]:OnClose()
this.PageList[_CurPageIndex].gameObject:SetActive(false)
end
Util.ClearChild(this.curObj.transform)
Util.ClearChild(this.leftObj.transform)
Util.ClearChild(this.rightObj.transform)
end