|
@@ -46,19 +46,18 @@ namespace GFGGame
|
|
|
{
|
|
|
base.OnShown();
|
|
|
|
|
|
- _ui.m_component.target.scrollPane.SetPosX(0, false);
|
|
|
+ // _ui.m_component.target.scrollPane.SetPosX(0, false);
|
|
|
_ui.m_component.m_btnClothingShop.m_c1.selectedIndex = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(ClothingShopView).Name, false) ? 1 : 0;
|
|
|
_ui.m_component.m_btnSuitSynthetic.m_c1.selectedIndex = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(SuitSyntheticView).Name, false) ? 1 : 0;
|
|
|
_ui.m_component.m_btnClothingUpgrade.m_c1.selectedIndex = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(ClothingListView).Name, false) ? 1 : 0;
|
|
|
_ui.m_component.m_btnDecompose.m_c1.selectedIndex = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(ClothingDecomposeView).Name, false) ? 1 : 0;
|
|
|
|
|
|
|
|
|
- GuideCfg cfg = GuideCfgArray.Instance.GetCfg(ConstGuideId.CLOTHING_DECOMPOSE);
|
|
|
- if (GuideDataManager.currentGuideId == cfg.id)
|
|
|
- {
|
|
|
- // _ui.m_component.target.scrollPane.ScrollLeft();// SetPosX(0, false);
|
|
|
- _ui.m_component.target.scrollPane.SetPosX(400, false);
|
|
|
- }
|
|
|
+ // GuideCfg cfg = GuideCfgArray.Instance.GetCfg(ConstGuideId.CLOTHING_DECOMPOSE);
|
|
|
+ // if (GuideDataManager.currentGuideId == cfg.id)
|
|
|
+ // {
|
|
|
+ // _ui.m_component.target.scrollPane.SetPosX(400, false);
|
|
|
+ // }
|
|
|
|
|
|
UpdateRedDot();
|
|
|
Timers.inst.AddUpdate(CheckGuide);
|
|
@@ -124,8 +123,8 @@ namespace GFGGame
|
|
|
|
|
|
private void UpdateRedDot()
|
|
|
{
|
|
|
- RedDotController.Instance.SetComRedDot(_ui.m_component.m_btnClothingUpgrade.target, RedDotDataManager.Instance.GetClothingFosterRed(), "", 0, 200);
|
|
|
- RedDotController.Instance.SetComRedDot(_ui.m_component.m_btnSuitSynthetic.target, RedDotDataManager.Instance.GetClothingSyntheticRed(), "", 0, 200);
|
|
|
+ RedDotController.Instance.SetComRedDot(_ui.m_component.m_btnClothingUpgrade.target, RedDotDataManager.Instance.GetClothingFosterRed(), "", 0, 30);
|
|
|
+ RedDotController.Instance.SetComRedDot(_ui.m_component.m_btnSuitSynthetic.target, RedDotDataManager.Instance.GetClothingSyntheticRed(), "", -20, 25);
|
|
|
}
|
|
|
|
|
|
protected override void UpdateToCheckGuide(object param)
|