소스 검색

雅集福利红点

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)