|
@@ -65,6 +65,8 @@ namespace GFGGame
|
|
|
_suitTypeId = (int)datas[0];
|
|
|
_suitId = (int)datas[1];
|
|
|
List<int> suitIds = datas[2] as List<int>;
|
|
|
+ _ui.m_imgBonusBox.target.visible = datas.Length >= 4 ? (bool)datas[3] : true;
|
|
|
+
|
|
|
_suitIds = new List<int>();
|
|
|
foreach (int suitId in suitIds)
|
|
|
{
|
|
@@ -114,7 +116,7 @@ namespace GFGGame
|
|
|
SuitCfg suitCfg = SuitCfgArray.Instance.GetCfg(_suitId);
|
|
|
_ui.m_txtSuitName.text = suitCfg.name;
|
|
|
_dressUpObjUI.ResetSceneObj(100, false, true, null, false);
|
|
|
- _dressUpObjUI.dressUpObj.PutOnSuitCfg(_suitId, isPic, new int[] { ConstDressUpItemType.BEI_JING });
|
|
|
+ _dressUpObjUI.dressUpObj.PutOnSuitCfg(_suitId, isPic, new int[] { ConstDressUpItemType.BEI_JING }, true, false);
|
|
|
_dressUpObjUI.UpdateWrapper(_ui.m_holder);
|
|
|
UpdateSuitBoxStatus();
|
|
|
}
|