示例#1
0
 public void Refresh()
 {
     if (_mailInfo.rewardList.Count == 0)
     {
         scrollRectTran.sizeDelta = new Vector2(scrollRectTran.sizeDelta.x, contentBgTran.sizeDelta.y);
     }
     contentButton.SetMailInfo(_mailInfo, true);
 }
示例#2
0
        public void OnResetItemHandler(GameObject go, int index)
        {
            MailContentButton btn = go.GetComponent <MailContentButton>();

            btn.SetMailInfo(MailProxy.instance.CurrentMailInfoList[index], false);
        }