Browse Source

摘星特效报错问题

huangxiaoyue 1 year ago
parent
commit
64bc53e6ed
1 changed files with 0 additions and 5 deletions
  1. 0 5
      GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxView.cs

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

@@ -140,11 +140,6 @@ namespace GFGGame
 
             _curIndex = LuckyBoxDataManager.Instance.luckyBoxIds.IndexOf(boxId);
             LuckyBoxDataManager.Instance.luckyBoxIndex = _curIndex;
-            foreach (var v in _effectUIDic)
-            {
-                EffectUIPool.Recycle(v.Value);
-            }
-            _effectUIDic.Clear();
             _listActivityBtnObj.Clear();
             _ui.m_listBg.numItems = LuckyBoxDataManager.Instance.luckyBoxIds.Count;
             _ui.m_listBg.ScrollToView(_curIndex);