Selaa lähdekoodia

Bugly摘星引导增加打印

huangxiaoyue 1 vuosi sitten
vanhempi
commit
00cb7da6e8

+ 2 - 0
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxView.cs

@@ -639,6 +639,8 @@ namespace GFGGame
         protected override void UpdateToCheckGuide(object param)
         {
             if (!ViewManager.CheckIsTopView(this.viewCom)) return;
+            if (_curIndex >= _ui.m_listBg.numItems) return;
+                ET.Log.Error("UpdateToCheckGuide _curIndex of num =" + _curIndex);
             GObject gObject = _ui.m_listBg.GetChildAt(_curIndex);
             if (gObject == null) return; 
            GButton btnBuyTen = gObject.asCom.GetChild("comLuckBoxBtn").asCom.GetChild("btnBuyTen").asButton;