private void SuccessCall(object msg) { if (msg != null) { _detailInfo = new MailDetailInfo(msg); if (_detailInfo.Status != selectItem.Status) { selectItem.Status = _detailInfo.Status; selectItem.RefreshView(); } DetailPanel.Show(); DetailPanel.UpdateView(_detailInfo); } }
/// <summary> /// /// </summary> private void SetChangeView(bool activty) { if (activty) { View1.gameObject.SetActive(true); View1.Show(); View2.gameObject.SetActive(false); View2.Hide(); } else { View1.gameObject.SetActive(false); View1.Hide(); View2.gameObject.SetActive(true); View2.Show(); } }