|
@@ -136,12 +136,10 @@ namespace GFGGame
|
|
|
}
|
|
|
MyDressUpHelper.dressUpObj.setSceneObj(_sceneObject);
|
|
|
|
|
|
+ currentIndex = CustomSuitDataManager.currentIndex;
|
|
|
_ui.m_comboBox.items = CustomSuitDataManager.GetSuitPosItems();
|
|
|
- _ui.m_comboBox.selectedIndex = CustomSuitDataManager.currentIndex;
|
|
|
- currentIndex = _ui.m_comboBox.selectedIndex;
|
|
|
- MyDressUpHelper.PutOnSuitSavedByPos(CustomSuitDataManager.currentIndex);
|
|
|
- // UpdateStepBtn();
|
|
|
- // AddMemoryDressup();
|
|
|
+ _ui.m_comboBox.selectedIndex = currentIndex;
|
|
|
+ MyDressUpHelper.PutOnSuitSavedByPos(currentIndex);
|
|
|
Timers.inst.AddUpdate(CheckGuide);
|
|
|
}
|
|
|
|
|
@@ -209,13 +207,13 @@ namespace GFGGame
|
|
|
if (_ui.m_comboBox.selectedIndex == currentIndex) return;
|
|
|
if (CustomSuitDataManager.GetPosType(_ui.m_comboBox.selectedIndex) == MonthCardType.Gold && !RoleDataManager.CheckIsMonthCardOpenByType(MonthCardType.Gold))
|
|
|
{
|
|
|
- PromptController.Instance.ShowFloatTextPrompt("开通金卡开启");
|
|
|
+ ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_MONTH_CARD, ConstStoreSubId.STORE_MONTH_GLOAD_CARD });
|
|
|
_ui.m_comboBox.selectedIndex = currentIndex;
|
|
|
return;
|
|
|
}
|
|
|
if (CustomSuitDataManager.GetPosType(_ui.m_comboBox.selectedIndex) == MonthCardType.BlackGold && !RoleDataManager.CheckIsMonthCardOpenByType(MonthCardType.BlackGold))
|
|
|
{
|
|
|
- PromptController.Instance.ShowFloatTextPrompt("开通黑金卡开启");
|
|
|
+ ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_MONTH_CARD, ConstStoreSubId.STORE_MONTH_BLACK_CARD });
|
|
|
_ui.m_comboBox.selectedIndex = currentIndex;
|
|
|
return;
|
|
|
}
|