Пример #1
0
 private void GetMailDatas(UserMailRes res)
 {
     GetData <MailModel>().Init(res);
     _mailPanel = new MailPanel();
     _mailPanel.Init(this);
     _mailPanel.Show(0.5f);
 }
Пример #2
0
    public UserMailState UserMailState;   //用户邮件状态

    public void Init(UserMailRes res)
    {
        UserMails = new List <UserMailVO>();
        foreach (var t in res.UserMails)
        {
            var item = new UserMailVO(t);
            UserMails.Add(item);
        }

        Debug.LogError("UserMails.Count===>" + UserMails.Count);

        SetUserMailState();
        SetSort();
    }