|
@@ -111,6 +111,7 @@ namespace GFGGame
|
|
|
int count = 0;//套装当前拥有的部件数量
|
|
|
int totalCount = 1;
|
|
|
// int suitId = 0;
|
|
|
+ _ui.m_bg.url = ResPathUtil.GetBgImgPath("bg_zhuxian");
|
|
|
DressUpMenuSuitDataManager.GetSuitProgressBySuitId(suitId, out count, out totalCount);
|
|
|
// totalCount = SuitCfgManager.Instance.GetTotalCountOfOneSuit(suitId);
|
|
|
if (suitId > 0)
|
|
@@ -119,10 +120,14 @@ namespace GFGGame
|
|
|
_ui.m_txtName.text = "套装·" + suitCfg.name;
|
|
|
int targetY = (int)(_ui.m_item.y + _ui.m_item.height + 50);
|
|
|
}
|
|
|
- _ui.m_probar.max = totalCount;
|
|
|
- _ui.m_probar.value = count;
|
|
|
+ //_ui.m_probar.max = totalCount;
|
|
|
+ //_ui.m_probar.value = count;
|
|
|
+ _ui.m_probar.visible = false;
|
|
|
+ AlertUI.Show(string.Format("套装进度:{0}/{1}", count, totalCount))
|
|
|
+ .SetLeftButton(false)
|
|
|
+ .SetRightButton(true, "确定");
|
|
|
// UpdateItem(itemId);
|
|
|
-
|
|
|
+
|
|
|
_dressUpObjUI.ResetSceneObj(70, false, true, null, false);
|
|
|
_dressUpObjUI.dressUpObj.PutOnSuitCfg(suitId, false, null, false, false);
|
|
|
_dressUpObjUI.UpdateWrapper(_ui.m_holder);
|