皮肤预览界面 细节调整
parent
a0968f9f0e
commit
af3713015d
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue