RedDotDataManager.cs 456 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. namespace GFGGame
  3. {
  4. public class RedDotDataManager : SingletonBase<RedDotDataManager>
  5. {
  6. public bool GetNoticeRed()
  7. {
  8. List<NoticeInfo> noticeInfos = NoticeDataManager.Instance.NoticeInfos;
  9. for (int i = 0; i < noticeInfos.Count; i++)
  10. {
  11. if (noticeInfos[i].readStatus == false) return true;
  12. }
  13. return false;
  14. }
  15. }
  16. }