zhaoyang 3 年 前
コミット
b606c68cec

+ 0 - 1
GameClient/Assets/Game/HotUpdate/Controller/GameController.cs

@@ -22,7 +22,6 @@ namespace GFGGame
             //全局点击效果
             ViewGlobal.CreatClickEffect();
             GameGlobal.GetGameCfg();
-            ViewManager.SetMaskAlpha(0.6f);
         }
 
         public static async ETTask Start()

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Data/DecomposeDataManager.cs

@@ -39,6 +39,7 @@ namespace GFGGame
 
         public List<int> GetDecomposeDataByRarity(int rarity)
         {
+            if (!_decomposeData.ContainsKey(rarity)) return null;
             return _decomposeData[rarity];
         }
 

+ 12 - 1
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitListView.cs

@@ -159,8 +159,19 @@ namespace GFGGame
         protected override void UpdateToCheckGuide(object param)
         {
             if (!ViewManager.CheckIsTopView(this.viewCom)) return;
+            int index = 0;
+            for (int i = 0; i < _suitIds.Count; i++)
+            {
+                int suitId = _suitIds[i];
+                bool haveSuit = DressUpMenuSuitDataManager.CheckHaveSuit(suitId);
+                if (haveSuit == true)
+                {
+                    index = i;
+                    break;
+                }
+            }
 
-            GuideController.TryGuide(_ui.m_listSuit, ConstGuideId.SUIT_LIST_VIEW, 3, "选择套装", 0);
+            GuideController.TryGuide(_ui.m_listSuit, ConstGuideId.SUIT_LIST_VIEW, 3, "选择套装", index);
         }
     }
 }

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/ViewManager.cs

@@ -32,6 +32,7 @@ namespace GFGGame
             _bottomLayer = CreateLayer("BottomLayer");
             _topLayer = CreateLayer("TopLayer");
             _topLayer.sortingOrder = ConstSortingOrder.TOP;
+            SetMaskAlpha(0.6f);
         }
 
         public static void AddChildToBottomLayer(GObject gObject)