皮肤预览界面 细节调整

main
Yuntao Hu 2024-08-14 19:13:50 +08:00
parent a0968f9f0e
commit af3713015d
1 changed files with 11 additions and 0 deletions

View File

@ -209,6 +209,7 @@ public class SkinChangeController : UIWindow
BindButton(Button_ShowAllPic, OnShowPicButton);
BindButton(Button_back, OnReturnButton);
BindButton(Button_Home, OnHomeButton);
BindButton(Button_Wear, OnChangeSkinClick);
//LoadModel(curSelectSkinId);
@ -280,9 +281,19 @@ public class SkinChangeController : UIWindow
}
else
{
if (_instModel != null)
Object.Destroy(_instModel);
CloseWindow();
}
}
void OnHomeButton()
{
if (_instModel != null)
Object.Destroy(_instModel);
UIManager.Instance.CloseAllNormalExcept(UINameConst.UI_MainPanel);
}
void _OnClickSkinItem(int to)
{
if (curSelectSkinId == to)