Ejemplo n.º 1
0
 protected override void Awake()
 {
     base.Awake();
     CMD_MultiRecruitSettingModal.instance = this;
     this.SetupPublishedBtn();
     this.SetupMoodBtn();
     this.SetupLabel();
     this.OnClickedPublishedBtn(CMD_MultiRecruitSettingModal.selectedPublishedType - 1);
     this.OnClickedMoodBtn(CMD_MultiRecruitSettingModal.selectedMoodType - 1);
 }
        private void OpenMultiRecruitSettingModal()
        {
            CMD_MultiRecruitSettingModal cmd_MultiRecruitSettingModal = GUIMain.ShowCommonDialog(new Action <int>(this.OnClosedMultiRecruitSettingModal), "CMD_MultiRecruitSettingModal", null) as CMD_MultiRecruitSettingModal;

            cmd_MultiRecruitSettingModal.deckNum = this.battlePartyDeckNo;
            cmd_MultiRecruitSettingModal.SetCallbackAction(delegate(GameWebAPI.RespData_MultiRoomCreate roomData)
            {
                CMD_MultiRecruitPartyWait.roomCreateData = roomData;
            });
        }