예제 #1
0
 private void SetCommonUI()
 {
     this.partGroupList                        = this.partGroupList.transform.GetChild(0).gameObject;
     this.csPartGroupParent                    = this.partGroupParent.GetComponent <GUISelectChatGroupPanel>();
     this.csPartGroupParent.selectParts        = this.partGroupList;
     this.csPartGroupParent.ListWindowViewRect = ConstValue.GetRectWindow3();
 }
예제 #2
0
 private void SetCommonUI()
 {
     this.partGroupList                        = this.partGroupList.transform.GetChild(0).gameObject;
     this.csPartGroupParent                    = this.partGroupParent.GetComponent <GUISelectChatGroupPanel>();
     this.csPartGroupParent.selectParts        = this.partGroupList;
     this.csPartGroupParent.ListWindowViewRect = ChatTools.MakeChatListRectWindow();
     this.csPartMultiParent                    = this.partMultiParent.GetComponent <GUISelectMultiRecruitListPanel>();
     this.csPartMultiParent.selectParts        = this.partMultiList;
     this.csPartMultiParent.ListWindowViewRect = ChatTools.MakeChatListRectWindow();
     this.csPartPvPParent                      = this.partPvPParent.GetComponent <GUISelectPvPListPanel>();
     this.csPartPvPParent.selectParts          = this.partPvPList;
     this.csPartPvPParent.ListWindowViewRect   = ChatTools.MakeChatListRectWindow();
     this.partGroupList.SetActive(false);
     this.partMultiList.SetActive(false);
     this.partPvPList.SetActive(false);
 }
예제 #3
0
 private void SetCommonUI()
 {
     this.csPartChatListParent             = this.partChatListParent.GetComponent <GUISelectChatGroupPanel>();
     this.csPartChatListParent.selectParts = this.partChatList;
     this.partChatListParent.SetActive(true);
     this.partChatList.SetActive(true);
     this.csPartChatListParent.initLocation = true;
     this.csPartChatListParent.AllBuild(ClassSingleton <ChatData> .Instance.CurrentChatInfo.joinGroupData);
     this.partChatList.SetActive(false);
     this.lbDefaultMessage.text = StringMaster.GetString("MultiRecruitChat-01");
     this.lbBtnRecruit.text     = StringMaster.GetString("MultiRecruitChat-02");
     this.SetBtnSelectAll(this.isSelectedAll);
     if (ClassSingleton <ChatData> .Instance.CurrentChatInfo.joinGroupData.groupList == null)
     {
         this.goDefaultMessage.SetActive(true);
         this.goBtnRecruit.SetActive(false);
         this.goBtnSelectAll.SetActive(false);
     }
 }