private void OnEnable() { int count = EmailItemList.Count; for (int i = 0; i < count; i++) { Destroy(EmailItemList[i]); } if (GameData.CurrentClubInfo.ApplyMemList.Count <= 0 && GameData.CurrentClubInfo.InviteList.Count <= 0) { ClientToServerMsg.GetClubMemListInfo((uint)GameData.CurrentClubInfo.Id); } else { CreatData(); } // Reset(); }