// Token: 0x060108AE RID: 67758 RVA: 0x0044D46C File Offset: 0x0044B66C private void UpdateHeroLifeList() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_UpdateHeroLifeList_hotfix != null) { this.m_UpdateHeroLifeList_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; GameObjectUtility.DestroyChildren(this.m_lifeContent); if (this.m_heroInformationInfo == null) { return; } List <int> heroBiographies_ID = this.m_heroInformationInfo.HeroBiographies_ID; this.biographyCtrlList.Clear(); GameObject assetInContainer = base.GetAssetInContainer <GameObject>("LifeItem"); foreach (int biographyId in heroBiographies_ID) { GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(assetInContainer); PrefabControllerCreater.CreateAllControllers(gameObject); FettersInformationLifeItemUIController component = gameObject.GetComponent <FettersInformationLifeItemUIController>(); component.InitLifeItem(biographyId); gameObject.transform.SetParent(this.m_lifeContent.transform, false); if (!this.biographyCtrlList.Contains(component)) { this.biographyCtrlList.Add(component); } } }
// Token: 0x06010D44 RID: 68932 RVA: 0x0045CCE4 File Offset: 0x0045AEE4 private void OnSkillItemClick() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnSkillItemClick_hotfix != null) { this.m_OnSkillItemClick_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; SkillDescUIController skillDescUIController = null; bool flag = false; for (int i = 0; i < this.m_descParent.transform.childCount; i++) { Transform child = this.m_descParent.transform.GetChild(i); if (child.name == "CommonSkillDesc") { flag = true; skillDescUIController = child.gameObject.GetComponent <SkillDescUIController>(); break; } } if (!flag) { GameObject assetInContainer = base.GetAssetInContainer <GameObject>("commonSkillDesc"); GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(assetInContainer); PrefabControllerCreater.CreateAllControllers(gameObject); skillDescUIController = gameObject.GetComponent <SkillDescUIController>(); gameObject.transform.SetParent(this.m_descParent.transform, false); gameObject.name = "CommonSkillDesc"; } skillDescUIController.InitSkillDesc(this.m_skillInfo); }
// Token: 0x0601090C RID: 67852 RVA: 0x0044E768 File Offset: 0x0044C968 private void OnSkillItemClick(HeroSkillItemUIController skillCtrl) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnSkillItemClickHeroSkillItemUIController_hotfix != null) { this.m_OnSkillItemClickHeroSkillItemUIController_hotfix.call(new object[] { this, skillCtrl }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; SkillDescUIController component = this.m_infoSkillDescGo.GetComponent <SkillDescUIController>(); if (component == null) { PrefabControllerCreater.CreateAllControllers(this.m_infoSkillDescGo); component = this.m_infoSkillDescGo.GetComponent <SkillDescUIController>(); component.EventOnClose += this.CloseSkillDesc; } component.InitSkillDesc(skillCtrl.m_skillInfo); if (this.m_curSelectedSkillCtrl != null) { this.m_curSelectedSkillCtrl.SetChoosenImageActive(false); } skillCtrl.SetChoosenImageActive(true); this.m_curSelectedSkillCtrl = skillCtrl; if (this.m_infoSkillDescGo.activeSelf) { bool flag = this.m_curSelectSkillIds.Contains(skillCtrl.m_skillInfo.ID); this.m_infoSkillDescLoadButton.gameObject.SetActive(!flag); this.m_infoSkillDescUnLoadButton.gameObject.SetActive(flag); } }
// Token: 0x060131C3 RID: 78275 RVA: 0x004DFBD8 File Offset: 0x004DDDD8 public void ShowBoxRewards(List <Goods> items, SignRewardItemUIController ctrl) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_ShowBoxRewardsList ` 1SignRewardItemUIController_hotfix != null) { this.m_ShowBoxRewardsList ` 1SignRewardItemUIController_hotfix.call(new object[] { this, items, ctrl }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_boxIconImage.sprite = AssetUtility.Instance.GetSprite(UIUtility.GetGoodsIconName(ctrl.GetGoodsType(), ctrl.GetGoodsId())); this.m_boxCountText.text = ctrl.GetGoodsCount().ToString(); this.m_boxNameText.text = UIUtility.GetGoodsName(ctrl.GetGoodsType(), ctrl.GetGoodsId()); this.m_boxHaveCountText.text = UIUtility.GetGoodsCount(ctrl.GetGoodsType(), ctrl.GetGoodsId()).ToString(); this.m_boxDescText.text = UIUtility.GetGoodsDesc(ctrl.GetGoodsType(), ctrl.GetGoodsId()); GameObjectUtility.DestroyChildren(this.m_boxRewardScrollViewObj); if (items != null) { foreach (Goods good in items) { GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(this.m_signBoxItemPrefab); PrefabControllerCreater.CreateAllControllers(gameObject); BoxItemInfoUIController component = gameObject.GetComponent <BoxItemInfoUIController>(); component.SetBoxItemInfo(good, false); gameObject.transform.SetParent(this.m_boxRewardScrollViewObj.transform, false); } } UIUtility.SetUIStateOpen(this.m_showBoxRewardPanelUIStateController, "Show", null, false, true); }
// Token: 0x0600D596 RID: 54678 RVA: 0x003A4570 File Offset: 0x003A2770 public void ShowRewardGoodsDesc(PrefabControllerBase ctrl, GoodsType goodsType, int goodsId, int alignType = 0, GameObject gameObjectForPosCalc = null, bool isNeedAutoClose = true) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_ShowRewardGoodsDescPrefabControllerBaseGoodsTypeInt32Int32GameObjectBoolean_hotfix != null) { this.m_ShowRewardGoodsDescPrefabControllerBaseGoodsTypeInt32Int32GameObjectBoolean_hotfix.call(new object[] { this, ctrl, goodsType, goodsId, alignType, gameObjectForPosCalc, isNeedAutoClose }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; base.gameObject.SetActive(true); PrefabControllerCreater.CreateAllControllers(base.gameObject); RewardGoodsDescUIController component = base.gameObject.GetComponent <RewardGoodsDescUIController>(); component.InitRewardGoodsDescInfo(goodsType, goodsId, isNeedAutoClose); if (gameObjectForPosCalc == null) { gameObjectForPosCalc = ctrl.gameObject; } component.gameObject.SetActive(true); component.StartCoroutine(RewardGoodsDescUIController.Co_ShowRewardGoodsDesc(component, gameObjectForPosCalc, alignType)); }
// Token: 0x0601090B RID: 67851 RVA: 0x0044E4F4 File Offset: 0x0044C6F4 private void ShowSelectSkillContent() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_ShowSelectSkillContent_hotfix != null) { this.m_ShowSelectSkillContent_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; GameObjectUtility.DestroyChildren(this.m_infoAllSkillsContent); GameObjectUtility.DestroyChildren(this.m_infoSelectSkillsContent); GameObject assetInContainer = base.GetAssetInContainer <GameObject>("skillItem"); List <int> skillIds = this.m_hero.SkillIds; List <int> selectedSkills = this.m_hero.SelectedSkills; this.m_curSelectSkillIds = new List <int>(); this.m_curSelectSkillIds.AddRange(selectedSkills); foreach (int key in skillIds) { ConfigDataSkillInfo configDataSkillInfo = this.m_configDataLoader.GetConfigDataSkillInfo(key); GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(assetInContainer); PrefabControllerCreater.CreateAllControllers(gameObject); HeroSkillItemUIController component = gameObject.GetComponent <HeroSkillItemUIController>(); component.EventOnShowDesc += this.OnSkillItemClick; component.InitSkillItem(configDataSkillInfo); bool limitTagObjActive = this.m_playerContext.IsSkillLimitToHeroJob(this.m_hero.ActiveHeroJobRelatedId, configDataSkillInfo.ID); component.SetLimitTagObjActive(limitTagObjActive); gameObject.transform.SetParent(this.m_infoAllSkillsContent.transform, false); if (selectedSkills.Contains(configDataSkillInfo.ID)) { component.SetSelectPanelActive(true); } } foreach (int key2 in skillIds) { ConfigDataSkillInfo configDataSkillInfo2 = this.m_configDataLoader.GetConfigDataSkillInfo(key2); if (selectedSkills.Contains(configDataSkillInfo2.ID)) { GameObject gameObject2 = UnityEngine.Object.Instantiate <GameObject>(assetInContainer); PrefabControllerCreater.CreateAllControllers(gameObject2); HeroSkillItemUIController component2 = gameObject2.GetComponent <HeroSkillItemUIController>(); component2.EventOnShowDesc += this.OnSkillItemClick; component2.InitSkillItem(configDataSkillInfo2); gameObject2.transform.SetParent(this.m_infoSelectSkillsContent.transform, false); } } UIUtility.SetGameObjectChildrenActiveCount(this.m_infoSelectSkillsCost, this.CalcTotalCostFromSkillList(selectedSkills)); CommonUIStateController component3 = this.m_infoSelectSkillPanel.GetComponent <CommonUIStateController>(); UIUtility.SetUIStateOpen(component3, "Show", null, false, true); }
// Token: 0x060131BF RID: 78271 RVA: 0x004DF838 File Offset: 0x004DDA38 public void InitSignRewardItem() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitSignRewardItem_hotfix != null) { this.m_InitSignRewardItem_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; int childCount = this.m_scrollViewSignRewardItemContent.transform.childCount; for (int i = 0; i < childCount; i++) { this.m_scrollViewSignRewardItemContent.transform.GetChild(i).gameObject.SetActive(false); } this.m_signRewardItemCtrlList.Clear(); GameObject assetInContainer = base.GetAssetInContainer <GameObject>("SignRewardItem"); List <Goods> signRewardMonthList = this.m_playerContext.GetSignRewardMonthList(this.m_playerContext.GetServerTime().Month); int count = signRewardMonthList.Count; for (int j = 0; j < count; j++) { Goods reward = signRewardMonthList[j]; SignRewardItemUIController component; if (j >= childCount) { GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(assetInContainer); PrefabControllerCreater.CreateAllControllers(gameObject); component = gameObject.GetComponent <SignRewardItemUIController>(); component.EventOnSignTodayItemClick += this.OnSignItemClick; component.EventOnSignTodayBoxOpenClick += this.OnSignBoxClick; component.EventOnShowBoxRewards += this.ShowBoxRewards; gameObject.transform.SetParent(this.m_scrollViewSignRewardItemContent.transform, false); } else { component = this.m_scrollViewSignRewardItemContent.transform.GetChild(j).gameObject.GetComponent <SignRewardItemUIController>(); } int day = j + 1; component.SetReward(reward); component.SetDay(day); component.transform.SetParent(this.m_scrollViewSignRewardItemContent.transform, false); component.gameObject.SetActive(true); this.m_signRewardItemCtrlList.Add(component); } }
// Token: 0x0601266F RID: 75375 RVA: 0x004B9934 File Offset: 0x004B7B34 protected override void OnBindFiledsCompleted() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnBindFiledsCompleted_hotfix != null) { this.m_OnBindFiledsCompleted_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; GameObject assetInContainer = base.GetAssetInContainer <GameObject>("RankingListItemUIPrefab"); this.m_itemTemplete = UnityEngine.Object.Instantiate <GameObject>(assetInContainer); PrefabControllerCreater.CreateAllControllers(this.m_itemTemplete); this.m_itemTemplete.transform.SetParent(this.ItemRoot.transform, false); base.OnBindFiledsCompleted(); }
// Token: 0x06011D56 RID: 73046 RVA: 0x0049C9F0 File Offset: 0x0049ABF0 private void ShowAttachmentsUI(Mail mailInfo) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_ShowAttachmentsUIMail_hotfix != null) { this.m_ShowAttachmentsUIMail_hotfix.call(new object[] { this, mailInfo }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; foreach (RewardGoodsUIController rewardGoodsUIController in this.m_attachmentUICtrlList) { rewardGoodsUIController.gameObject.SetActive(false); } List <Goods> attachments = mailInfo.Attachments; if (attachments == null) { return; } for (int i = 0; i < attachments.Count; i++) { RewardGoodsUIController rewardGoodsUIController2; if (i >= this.m_attachmentUICtrlList.Count) { GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(this.ItemUICtrlPrefab); PrefabControllerCreater.CreateAllControllers(gameObject); gameObject.transform.SetParent(this.RewardRoot.transform, false); rewardGoodsUIController2 = GameObjectUtility.AddControllerToGameObject <RewardGoodsUIController>(gameObject); this.m_attachmentUICtrlList.Add(rewardGoodsUIController2); } else { rewardGoodsUIController2 = this.m_attachmentUICtrlList[i]; } rewardGoodsUIController2.gameObject.SetActive(true); rewardGoodsUIController2.SetReward(attachments[i], 0, true); } }
// Token: 0x06012537 RID: 75063 RVA: 0x004B510C File Offset: 0x004B330C protected void InitRaffleRewardItemPool() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitRaffleRewardItemPool_hotfix != null) { this.m_InitRaffleRewardItemPool_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; GameObject assetInContainer = base.GetAssetInContainer <GameObject>("RaffleRewardItemUIPrefab"); GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(assetInContainer); gameObject.transform.SetParent(this.PrefabRoot, false); PrefabControllerCreater.CreateAllControllers(gameObject); PoolInfo poolInfoByName = this.EasyPool.GetPoolInfoByName("RaffleRewardItemUIPrefab"); poolInfoByName.prefab = gameObject; poolInfoByName.poolSize = 6; }
// Token: 0x060108AF RID: 67759 RVA: 0x0044D5A4 File Offset: 0x0044B7A4 private void UpdateHeroVoiceList() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_UpdateHeroVoiceList_hotfix != null) { this.m_UpdateHeroVoiceList_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_voiceCVNameText.text = this.m_hero.HeroInfo.GetCharImageInfo(this.m_hero.StarLevel).CVName; GameObjectUtility.DestroyChildren(this.m_voiceContent); if (this.m_heroInformationInfo == null) { return; } this.voiceCtrlList.Clear(); ConfigDataPerformanceInfo configDataPerformanceInfo = this.m_configDataLoader.GetConfigDataPerformanceInfo(this.m_heroInformationInfo.HeroPerformance_ID); if (configDataPerformanceInfo == null) { return; } GameObject assetInContainer = base.GetAssetInContainer <GameObject>("VoiceItem"); foreach (int heroPerformanceId in configDataPerformanceInfo.HeroPerformances_ID) { GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(assetInContainer); PrefabControllerCreater.CreateAllControllers(gameObject); FettersInformationVoiceItemUIController component = gameObject.GetComponent <FettersInformationVoiceItemUIController>(); component.InitVoiceItem(heroPerformanceId); component.EventOnVoiceButtonClick += this.OnPeofermanceVoiceButtonClick; gameObject.transform.SetParent(this.m_voiceContent.transform, false); if (!this.voiceCtrlList.Contains(component)) { this.voiceCtrlList.Add(component); } } }
// Token: 0x06011DC8 RID: 73160 RVA: 0x0049DC70 File Offset: 0x0049BE70 protected override void OnBindFiledsCompleted() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnBindFiledsCompleted_hotfix != null) { this.m_OnBindFiledsCompleted_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; base.OnBindFiledsCompleted(); PrefabControllerCreater.CreateAllControllers(this.m_mailDetailGo); this.m_mailDetailUICtrl = this.m_mailDetailGo.GetComponent <MailDetailUIController>(); this.m_listScrollRect.onValueChanged.AddListener(delegate(Vector2 vector2) { RectTransform component = this.m_mailListPointBgContent.GetComponent <RectTransform>(); RectTransform component2 = this.m_mailListContent.GetComponent <RectTransform>(); component.anchoredPosition = component2.anchoredPosition; }); this.m_closeButton.onClick.AddListener(new UnityAction(this.OnCloseButtonClick)); this.m_bgButton.onClick.AddListener(new UnityAction(this.OnCloseButtonClick)); this.m_getAllButton.onClick.AddListener(new UnityAction(this.OnGetAllButtonClick)); }
// Token: 0x0601090D RID: 67853 RVA: 0x0044E8A0 File Offset: 0x0044CAA0 private void OnLoadOrUnLoadButtonClick() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnLoadOrUnLoadButtonClick_hotfix != null) { this.m_OnLoadOrUnLoadButtonClick_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; HeroSkillItemUIController curSelectedSkillCtrl = this.m_curSelectedSkillCtrl; ConfigDataSkillInfo skillInfo = curSelectedSkillCtrl.m_skillInfo; Transform parent = curSelectedSkillCtrl.gameObject.transform.parent; if (parent.gameObject == this.m_infoAllSkillsContent) { if (!this.m_curSelectSkillIds.Contains(skillInfo.ID)) { if (this.m_curSelectSkillIds.Count == 3) { CommonUIController.Instance.ShowMessage(StringTableId.StringTableId_Msg_SkillEquipNumMax, 2f, null, true); return; } this.m_curSelectSkillIds.Add(skillInfo.ID); int num = this.CalcTotalCostFromSkillList(this.m_curSelectSkillIds); int heroSkillPointMax = this.m_playerContext.GetHeroSkillPointMax(this.m_hero.Level); if (num > heroSkillPointMax) { CommonUIController.Instance.ShowMessage(StringTableId.StringTableId_Msg_SkillPointNotEnough, 2f, null, true); this.m_curSelectSkillIds.Remove(skillInfo.ID); return; } curSelectedSkillCtrl.SetSelectPanelActive(true); GameObject assetInContainer = base.GetAssetInContainer <GameObject>("skillItem"); GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(assetInContainer); PrefabControllerCreater.CreateAllControllers(gameObject); HeroSkillItemUIController component = gameObject.GetComponent <HeroSkillItemUIController>(); component.EventOnShowDesc += this.OnSkillItemClick; component.InitSkillItem(skillInfo); gameObject.transform.SetParent(this.m_infoSelectSkillsContent.transform, false); } else { curSelectedSkillCtrl.SetSelectPanelActive(false); for (int i = 0; i < this.m_infoSelectSkillsContent.transform.childCount; i++) { HeroSkillItemUIController component2 = this.m_infoSelectSkillsContent.transform.GetChild(i).GetComponent <HeroSkillItemUIController>(); if (component2.m_skillInfo == skillInfo) { this.m_curSelectSkillIds.Remove(component2.m_skillInfo.ID); UnityEngine.Object.Destroy(this.m_infoSelectSkillsContent.transform.GetChild(i).gameObject); } } } } else if (parent.gameObject == this.m_infoSelectSkillsContent) { for (int j = 0; j < this.m_infoAllSkillsContent.transform.childCount; j++) { HeroSkillItemUIController component3 = this.m_infoAllSkillsContent.transform.GetChild(j).GetComponent <HeroSkillItemUIController>(); if (component3.m_skillInfo == skillInfo) { component3.SetSelectPanelActive(false); this.m_curSelectSkillIds.Remove(component3.m_skillInfo.ID); } } UnityEngine.Object.Destroy(curSelectedSkillCtrl.gameObject); } this.m_infoSkillDescUnLoadButton.gameObject.SetActive(this.m_curSelectSkillIds.Contains(skillInfo.ID)); UIUtility.SetGameObjectChildrenActiveCount(this.m_infoSelectSkillsCost, this.CalcTotalCostFromSkillList(this.m_curSelectSkillIds)); this.CloseSkillDesc(); }
// Token: 0x06011DCA RID: 73162 RVA: 0x0049DDD8 File Offset: 0x0049BFD8 public void UpdateMailInfoList(List <Mail> mailInfoList, Mail selectedMail = null, bool needReSetScrollView = false) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_UpdateMailInfoListList ` 1MailBoolean_hotfix != null) { this.m_UpdateMailInfoListList ` 1MailBoolean_hotfix.call(new object[] { this, mailInfoList, selectedMail, needReSetScrollView }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; foreach (MailItemUIController mailItemUIController in this.m_itemUICtrlList) { mailItemUIController.gameObject.SetActive(false); } ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext; for (int i = 0; i < mailInfoList.Count; i++) { Mail mail = mailInfoList[i]; MailItemUIController mailItemUIController2; if (i >= this.m_itemUICtrlList.Count) { GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(this.m_mailItemPrefab); PrefabControllerCreater.CreateAllControllers(gameObject); gameObject.transform.SetParent(this.m_mailItemPrefab.transform.parent, false); mailItemUIController2 = gameObject.GetComponent <MailItemUIController>(); mailItemUIController2.EventOnMailItemButtonClick += this.OnMailItemButtonClick; this.m_itemUICtrlList.Add(mailItemUIController2); } else { mailItemUIController2 = this.m_itemUICtrlList[i]; } mailItemUIController2.UpdateMailInfo(mail, mail == selectedMail); } int num = projectLPlayerContext.CanAutoGetMailAttachment(); this.m_getAllButton.gameObject.SetActive(num == 0 || num == -500); if (needReSetScrollView) { this.ReSetScrollViewToTop(); } int num2 = 6; if (this.m_mailListPointBgContent.transform.childCount >= mailInfoList.Count + num2) { UIUtility.SetGameObjectChildrenActiveCount(this.m_mailListPointBgContent, mailInfoList.Count + num2); } else { List <GameObject> list = new List <GameObject>(); int num3 = mailInfoList.Count - this.m_mailListPointBgContent.transform.childCount + num2; for (int j = 0; j < num3; j++) { GameObject gameObject2 = UnityEngine.Object.Instantiate <GameObject>(this.m_mailListPointItem); gameObject2.SetActive(true); gameObject2.transform.SetParent(this.m_mailListPointBgContent.transform, false); list.Add(gameObject2); } } }