皮肤错误修改

dev_chengFeng
jiaoyangna 2021-04-12 14:02:03 +08:00
parent 74cc1c48f3
commit 034ed82f0f
1 changed files with 6 additions and 2 deletions

View File

@ -126,11 +126,15 @@ function HandBookRoleSkinPanel:BtnAction(skinId,data)
return
end
curSkinId = skinId
parent:ChangeCurentHeroSkinLive(data)
if skinId == 0 then
parent:ChangeCurentHeroSkinLive()
else
parent:ChangeCurentHeroSkinLive(data)
end
end
function HandBookRoleSkinPanel:OnHide()
LogGreen("11111111111111111111111111111111111")
this.gameObject:SetActive(false)
if parent then
parent:ChangeCurentHeroSkinLive()