Beispiel #1
0
        public override void OnHide()
        {
            base.OnHide();

            m_pause_btn.RemoveClickCallBack(OnBtnGamePauseClick);
            m_input_tex.RemovePressUpCallBack(OnTexPointerUp);
            m_input_tex.RemovePressDownCallBack(OnTexPointerDown);
            m_input_tex.RemoveDragCallBack(OnTexDrag);
            m_input_tex.RemoveDragStartCallBack(OnTexDragStart);
            m_input_tex.RemoveDragEndCallBack(OnTexDragEnd);
            m_start_view.RemoveClickCallBack(OnStartViewClicked);

            m_fly_time_tween_pos.RemoveTweenCompletedCallback(OnFlyTimeTweenFinished);
            m_start_view_tween_pos.RemoveTweenCompletedCallback(OnStartViewTweenFinished);
        }
Beispiel #2
0
 public override void OnHide()
 {
     base.OnHide();
     m_Close_btn.RemoveClickCallBack(OnClose);
     m_BG_img.RemoveClickCallBack(OnClose);
     TimeModule.Instance.RemoveTimeaction(() => { OnClose(); });
 }
Beispiel #3
0
 private void UnInitListener()
 {
     m_add_btn.CancelLongClick();
     m_reduce_btn.RemoveLongClickCallBack(btnReduceNumber);
     m_add_btn.RemoveLongClickCallBack(btnLongAddNumber);
     m_buy_btn.RemoveClickCallBack(btnBuy);
 }
Beispiel #4
0
        public override void OnHide()
        {
            base.OnHide();


            m_close_btn.RemoveClickCallBack(OnCloseClicked);
        }
Beispiel #5
0
 private void UnInitListener()
 {
     m_one_btn.RemoveClickCallBack(BtnOne);
     m_twoFirst_btn.RemoveClickCallBack(BtnTwoFirst);
     m_twoSecond_btn.RemoveClickCallBack(BtnTwoSecond);
     m_close_btn.RemoveClickCallBack(onClickClose);
 }
        public override void OnHide()
        {
            base.OnHide();

            m_is_start_timer = false;
            MessageHandler.UnRegisterMessageHandler(MessageDefine.SCRegGuestResponse, OnScResponse);
            MessageHandler.UnRegisterMessageHandler(MessageDefine.SCIdentifyCheckRepsonse, OnScResponse);
            MessageHandler.UnRegisterMessageHandler(MessageDefine.SCPlayerInfoResponse, OnScResponse);
            //MessageHandler.UnRegisterMessageHandler(MessageDefine.SCPlayerPropResponse, OnScResponse);
            MessageHandler.UnRegisterMessageHandler(MessageDefine.SCFBLoginResponse, OnScResponse);
            MessageHandler.UnRegisterMessageHandler(MessageDefine.SCFBBindResponse, OnScResponse);
            //MessageHandler.UnRegisterMessageHandler(MessageDefine.SCNoticeListResponse, OnScResponse);
            MessageHandler.UnRegisterMessageHandler(MessageDefine.SCPlayerGuildResponse, OnScResponse);
            MessageHandler.UnRegisterMessageHandler(MessageDefine.SCGetPushResponse, OnScResponse);
            MessageHandler.UnRegisterMessageHandler(MessageDefine.SCIdentifyCheckMuiltyMessage, OnScResponse);

            GameEvents.UIEvents.UI_FB_Event.Listen_FbLoginStatusChanged -= SetFBBtnIcon;

            m_login_btn.RemoveClickCallBack(OnNormalVersionClicked);
            m_fackbook_btn.RemoveClickCallBack(OnFBVersionClicked);

            LocalDataManager.Instance.Is_login = false;

            PopUpManager.ClosePopUp();

            GameEvents.UIEvents.UI_FB_Event.Listen_FbLoginStatusChanged.SafeInvoke();
        }
        public override void OnHide()
        {
            base.OnHide();

            m_close_btn.RemoveClickCallBack(OnCloseClicked);

            m_ui_effect.Visible = false;
        }
Beispiel #8
0
 public override void OnHide()
 {
     base.OnHide();
     m_action_btn.RemoveClickCallBack(OnClick);
     m_btn_play_video.RemoveClickCallBack(OnVideoPlayClick);
     m_btn_close_video.RemoveClickCallBack(OnVideoCloseClick);
     m_btnClose.RemoveClickCallBack(OnRootCloseClick);
 }
Beispiel #9
0
        public override void OnHide()
        {
            base.OnHide();

            m_ok_btn.RemoveClickCallBack(OnOkClicked);
            //m_canel_btn.RemoveClickCallBack(OnCancelClicked);
            //m_close_btn.RemoveClickCallBack(OnCancelClicked);
        }
Beispiel #10
0
        public override void OnHide()
        {
            m_last_toggle_id = -1;

            m_application_switch.RemoveClickCallBack(OnApplicationToggleClicked);
            m_ignore_all_btn.RemoveClickCallBack(OnIgnoreAllClick);
            m_recommend_btn.RemoveClickCallBack(OnRecommendClick);
        }
Beispiel #11
0
 public override void OnHide()
 {
     base.OnHide();
     m_choose_btn.RemoveClickCallBack(OnToggle);
     MessageHandler.UnRegisterMessageHandler(MessageDefine.SCTitleActiveResponse, OnResponse);
     m_curTitle     = null;
     m_currentState = false;
 }
Beispiel #12
0
 public override void OnHide()
 {
     base.OnHide();
     m_Receive_btn.RemoveClickCallBack(OnGetAchieve);
     MessageHandler.UnRegisterMessageHandler(MessageDefine.SCAchievementSubmitResponse, OnResponse);
     m_Id = -1;
     this.m_lockEffect.Visible = false;
     this.m_needShowEffect     = false;
 }
Beispiel #13
0
        public override void OnHide()
        {
            base.OnHide();

            m_gift_btn.RemoveClickCallBack(OnGiftClicked);
            m_combine_btn.RemoveClickCallBack(OnCombineClicked);

            m_left_toggles[0].Checked = false;
        }
 public override void OnHide()
 {
     base.OnHide();
     MainPanelInGameUILogic.Hide();
     //MessageHandler.UnRegisterMessageHandler(MessageDefine.MarkeBuyResponse, OnResponse);
     MessageHandler.UnRegisterMessageHandler(MessageDefine.MarketResponse, OnResponse);
     m_close_btn.RemoveClickCallBack(btnClose);
     m_grid_com.Clear();
 }
Beispiel #15
0
 public override void OnHide()
 {
     base.OnHide();
     m_Sale_btn.RemoveClickCallBack(btnSale);
     m_Use_btn.RemoveClickCallBack(btnUse);
     m_MultiFunc_btn.RemoveClickCallBack(btnMutliFunc);
     m_currentInfo_enum = PropInfoTypeEnum.None;
     m_curPropData      = null;
 }
        public override void OnHide()
        {
            base.OnHide();
            m_ok_btn.RemoveClickCallBack(OnClick);

            StopRefreshVitUIEffect();
            m_title_effect.Visible   = false;
            m_lvl_effect.Visible     = false;
            m_lvl_bar_effect.Visible = false;
        }
Beispiel #17
0
 public override void OnHide()
 {
     base.OnHide();
     MessageHandler.UnRegisterMessageHandler(MessageDefine.SCTitleResponse, OnRespone);
     GameEvents.UIEvents.UI_PlayerTitle_Event.OnChoose -= OnChoose;
     m_close_btn.RemoveClickCallBack(OnClose);
     m_chooseID    = -1;
     m_curTitleMsg = null;
     //m_chooseTitle = null;
 }
            public override void OnHide()
            {
                base.OnHide();
                m_IsEnd = false;
                //m_panelIndex = 1;
                m_NextBtn.RemoveClickCallBack(OnNextBtn);
                GameEvents.UIEvents.UI_StartCartoon_Event.OnNextClick -= OnNextClick;
#if UNITY_EDITOR
                GameEvents.UIEvents.UI_StartCartoon_Event.OnSkipCurrentCapter -= OnSkipCurrentCapter;
#endif
            }
Beispiel #19
0
 protected override void RemoveListener()
 {
     base.RemoveListener();
     MessageHandler.UnRegisterMessageHandler(MessageDefine.MarketResponse, OnResponse);
     MessageHandler.UnRegisterMessageHandler(MessageDefine.MarkeBuyRequest, OnResponse);
     MessageHandler.UnRegisterMessageHandler(MessageDefine.MarkeFreshResponse, OnResponse);
     GameEvents.BuyEvent.OnShopRes -= OnBuyCallback;
     GameEvents.BuyEvent.OnShopReq -= OnRequestCallback;
     GameEvents.UIEvents.UI_Shop_Event.OnChooseItem -= chooseItem;
     m_reflash_btn.RemoveClickCallBack(BtnReflash);
 }
Beispiel #20
0
        public override void OnHide()
        {
            base.OnHide();

            MessageHandler.UnRegisterMessageHandler(MessageDefine.SCCanTaskResponse, OnReponse);

            m_pool_task_btn.RemoveClickCallBack(OnTaskClicked);
            m_branch_role_task_btn.RemoveClickCallBack(OnTaskClicked);
            m_branch_tool_task_btn.RemoveClickCallBack(OnTaskClicked);
            m_pool_reward_btn.RemoveClickCallBack(OnRewardClicked);
            m_branch_reward_btn.RemoveClickCallBack(OnRewardClicked);
        }
Beispiel #21
0
        public override void OnHide()
        {
            base.OnHide();
            m_buy_btn.RemoveClickCallBack(btnBuy);
            GameEvents.BuyEvent.OnShopRes        -= OnBuyCallback;
            GameEvents.BuyEvent.OnShopReq        -= OnRequestCallback;
            GameEvents.Skill_Event.OnSkillFinish -= OneUseReqCallback;
            m_itemdata    = null;
            m_curShopType = ShopType.None;

            this.m_effect.Visible = false;
        }
Beispiel #22
0
 public override void OnHide()
 {
     base.OnHide();
     GameEvents.Skill_Event.OnSkillFinish -= OnSkillFinish;
     MessageHandler.UnRegisterMessageHandler(MessageDefine.PlayerPropSellResposne, OnRes);
     MessageHandler.UnRegisterMessageHandler(MessageDefine.SCDropResp, OnRes);
     m_curNum  = 1;
     m_bagData = null;
     m_addNum_btn.RemoveLongClickCallBack(OnAddNum);
     m_reduceNum_btn.RemoveLongClickCallBack(OnReduce);
     m_maxNum_btn.RemoveClickCallBack(OnMax);
     m_yes_btn.RemoveClickCallBack(OnSure);
     m_close_btn.RemoveClickCallBack(OnClose);
 }
Beispiel #23
0
 private void UnRegistListener()
 {
     MessageHandler.UnRegisterMessageHandler(MessageDefine.LottoBuyResponse, OnResponse);
     MessageHandler.UnRegisterMessageHandler(MessageDefine.LottoResponse, OnResponse);
     m_page_btn[0].RemoveChangeCallBack(BtnCoinPage);
     m_page_btn[1].RemoveChangeCallBack(BtnCashPage);
     m_buy_btn.RemoveClickCallBack(BtnBuy);
     m_detail_btn.RemoveClickCallBack(BtnDetail);
     m_close_btn.RemoveClickCallBack(BtnClose);
     m_detail_root.RemoveClickCallBack(BtnDetail);
     GameEvents.UIEvents.UI_SLots_Events.OnAgain -= OnAgain;
     GameEvents.UIEvents.UI_SLots_Events.OnOK    -= OnOK;
     //GameEvents.UIEvents.UI_SLots_Events.OnResultOpen -= OnResultOpen;
 }
Beispiel #24
0
        public override void OnHide()
        {
            base.OnHide();
            this.m_startComplete = false;
            GameEvents.UIEvents.UI_Activity_Event.OnTweenFinish  -= OnTweenFinish;
            GameEvents.UIEvents.UI_Activity_Event.OnChooseFinish -= OnChooseFinish;
            GameEvents.UIEvents.UI_Activity_Event.OnClick        -= OnClick;
            DragEventTriggerListener.Get(m_scroll_view.gameObject).onDragStart -= OnDragStart;

            MessageHandler.UnRegisterMessageHandler(MessageDefine.SCActivityBaseListResponse, OnResponse);
            m_close_btn.RemoveClickCallBack(OnClose);
            m_uiType     = ActivityUIType.None;
            m_startIndex = 0;
            m_endIndex   = 0;
            m_activity_data.Clear();
        }
Beispiel #25
0
 public override void OnHide()
 {
     base.OnHide();
     m_skip_btn.RemoveClickCallBack(BtnSkip);
     m_mask.RemoveClickCallBack(BtnMask);
     m_data.Clear();
     ///
     m_mask.RemoveDragStartCallBack(DragStart);
     m_mask.RemoveDragEndCallBack(DragEnd);
     m_mask.RemoveDragCallBack(Draging);
     if (m_data.OperaType == GuidEnum.Guid_DragScene)
     {
         EngineCoreEvents.InputEvent.OnSwipeBegin -= OnSwipeBegin;
         EngineCoreEvents.InputEvent.OnSwipeEnd   -= OnSwipeEnd;
     }
     //m_rectData.Clear();
     //m_CircleData.Clear();
 }
Beispiel #26
0
        public override void OnHide()
        {
            base.OnHide();


            GameRoot.instance.NeedListenScreenClick = false;
            UnRegisterMessage();
            m_currentIndex = -1;
            GameEntryHelper.m_CurrentBtn = m_panelName[0];

            m_push_gift_btn_effect.Visible = false;
            m_activity_btn_effect.Visible  = false;
            TimeModule.Instance.RemoveTimeaction(UpdatePushGiftTimer);

            m_is_bottom_btn_show = false;
            ShowBottomButton(null);

            m_hide_btn.RemoveClickCallBack(ShowBottomButton);
        }
Beispiel #27
0
        private void UnRegisterMessage()
        {
            GameEvents.UIEvents.UI_GameEntry_Event.OnOpenPanel       -= OnOpenPanel;
            GameEvents.UIEvents.UI_GameEntry_Event.OnControlActivity -= OnControlActivity;
#if OFFICER_SYS
            GameEvents.RedPointEvents.User_OnNewPoliceEvent -= OnNewPolice;
#endif
            GameEvents.RedPointEvents.User_OnNewFriendEvent              -= OnNewFriend;
            GameEvents.RedPointEvents.User_OnNewAchievementEvent         -= OnNewAchievement;
            GameEvents.RedPointEvents.User_OnNewActivityEvent            -= OnNewActivityEvent;
            GameEvents.UIEvents.UI_GameEntry_Event.GetCurrentGameEntryUI -= GetCurrentGameEntryUI;
            //GameEvents.UI_Guid_Event.OnSeekOpenClose -= OnSeekOpenClose;
            GameEvents.UI_Guid_Event.OnMainIconUnLockComplete         -= OnMainIconUnLockComplete;
            GameEvents.UIEvents.UI_PushGift_Event.OnGo                -= ShowPushGiftView;
            GameEvents.UIEvents.UI_Bonus_Pop_View_Event.Listen_OnShow -= OnShowBonusPopView;
            GameEvents.UIEvents.UI_GameEntry_Event.OnMainCityHint     -= OnMainCityHint;
            GameEvents.RedPointEvents.User_OnNewChapterEvent          -= User_OnNewChapterEvent;
            GameEvents.RedPointEvents.User_OnNewChapterBannerEvent    -= User_OnNewChapterBannerEvent;
            GameEvents.IAPEvents.OnTransactionDone -= DisableItem;
            GameEvents.UIEvents.UI_GameEntry_Event.OnLockMainIcon -= OnLockMainIcon;
#if OFFICER_SYS
            GameEvents.UIEvents.UI_GameEntry_Event.OnNewPoliceEffect -= OnNewPoliceEffect;
#endif
            GameEvents.UIEvents.UI_GameEntry_Event.OnOpenBottomButton            -= OpenBottomButton;
            GameEvents.UIEvents.UI_Bonus_Pop_View_Event.BonusPopViewVisible      -= BonusPopViewVisible;
            GameEvents.UIEvents.UI_GameEntry_Event.Listen_OnCombinePropCollected -= OnCombineTipsShow;
            GameEvents.UIEvents.UI_GameEntry_Event.OnMaskBGVisible -= OnMaskBGVisible;
            GameEvents.UIEvents.UI_Common_Event.OnCommonUIVisible  -= OnCommonUIVisible;
            m_activity_btn.RemoveClickCallBack(BtnActivity);
            for (int i = 0; i < MAXPANEL; i++)
            {
                if (m_panelMsg[i] != 0)
                {
                    MessageHandler.UnRegisterMessageHandler(m_panelMsg[i], GameEntryHelper.TransPanel);
                }
            }

            m_push_gift_btn.RemoveClickCallBack(OnPushGiftClicked);
            MessageHandler.UnRegisterMessageHandler(MessageDefine.SCGetPushResponse, OnPushGiftRsp);
            MessageHandler.UnRegisterMessageHandler(MessageDefine.MarketResponse, GameEntryHelper.TransPanel);
        }
Beispiel #28
0
 public override void OnHide()
 {
     m_play_btn.RemoveClickCallBack(OnPlayClicked);
     m_reset_btn.RemoveClickCallBack(OnResetClicked);
 }
Beispiel #29
0
 public override void OnHide()
 {
     base.OnHide();
     m_buy_btn.RemoveClickCallBack(btnBuy);
     m_itemdata = null;
 }
Beispiel #30
0
 public override void OnHide()
 {
     m_del_btn.RemoveClickCallBack(OnDelClick);
     m_ok_btn.RemoveClickCallBack(OnOKClick);
 }