|
@@ -45,6 +45,7 @@ namespace GFGGame
|
|
|
private List<ItemData> _materiarsOfSelectedItem;
|
|
|
|
|
|
private UI_MateriasListItem listTypeItem_CloSynthetic;
|
|
|
+ private bool _clearDressUpList;
|
|
|
|
|
|
|
|
|
public override void Dispose()
|
|
@@ -115,6 +116,7 @@ namespace GFGGame
|
|
|
_selectedItemId = (this.viewData as object[]).Length > 1 ? (int)(this.viewData as object[])[1] : 0;
|
|
|
_valueBarController.OnShown();
|
|
|
_ui.m_loaBg.url = ResPathUtil.GetBgImgPath("hc_bj_1");
|
|
|
+ _clearDressUpList = true;
|
|
|
|
|
|
UpdateClothingList(false);
|
|
|
|
|
@@ -194,8 +196,14 @@ namespace GFGGame
|
|
|
private EaseType ease = EaseType.CubicOut;
|
|
|
private void UpdateRole(bool tween)
|
|
|
{
|
|
|
+ if (_clearDressUpList)
|
|
|
+ {
|
|
|
+ _dressUpObjUI.dressUpObj.ClearDressUpList();
|
|
|
+ _clearDressUpList = false;
|
|
|
+ }
|
|
|
_dressUpObjUI.ResetSceneObj(45, true, true, null, false);
|
|
|
_dressUpObjUI.dressUpObj.AddOrRemove(_selectedItemId, true);
|
|
|
+ _imgSelected.visible = _dressUpObjUI.dressUpObj.CheckDressUpItemIsOn(_selectedItemId);
|
|
|
_dressUpObjUI.UpdateWrapper(_ui.m_compHolder.m_compMover.m_holder);
|
|
|
int type = ItemUtilCS.GetItemSubType(_selectedItemId);
|
|
|
float duration = DURATION;
|