瀏覽代碼

雅集福利红点

zhaoyang 2 年之前
父節點
當前提交
4e1c618d9d
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      GameClient/Assets/Game/HotUpdate/Views/League/LeagueGiftView.cs

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Views/League/LeagueGiftView.cs

@@ -115,6 +115,9 @@ namespace GFGGame
                 item.target.onClick.Add(OnBtnGetClick);
             }
             item.target.data = _getDatas[index].Type;
+
+            int y = index < 2 ? 98 : 30;
+            RedDotController.Instance.SetComRedDot(item.target, !_getDatas[index].IsGet, "", 0, y);
             UI_ListGiftGetItemTop.ProxyEnd();
         }
         private void RenderListBuyItem(int index, GObject obj)