/// <summary>
        /// Histories the list close.
        /// </summary>
        /// <returns>The list close.</returns>
        /// <param name="animObj">Animation object.</param>
        public void HistoryListClose(GameObject animObj)
        {
            string title = PanelStateManager.GetHeaderStringByKey("PanelMypageMain");

            HeaderPanel.Instance.BackButtonSwitch(false, HistoryListCloseEvent, title);
            BackButton(animObj);
        }
示例#2
0
        public void BoardDetailClose(GameObject animObj)
        {
            string title = PanelStateManager.GetHeaderStringByKey("BulletInBoardPanel");

            HeaderPanel.Instance.BackButtonSwitch(false, null, title);
            PanelBoardListAnimate(animObj, true);
        }
        /// <summary>
        /// Others the setting close.
        /// </summary>
        /// <returns>The setting close.</returns>
        public void OtherSettingClose(GameObject animObj)
        {
            string title = PanelStateManager.GetHeaderStringByKey("PanelMypageMain");

            HeaderPanel.Instance.BackButtonSwitch(false, OtherSettingCloseEvent, title);
            StartCoroutine(BackAnimateToDestory(animObj));
        }
        /// <summary>
        /// Panels the rand message close.
        /// </summary>
        /// <returns>The rand message close.</returns>
        public void PanelRandMessageClose(GameObject animObj)
        {
            string title = PanelStateManager.GetHeaderStringByKey("PanelMypageMain");

            HeaderPanel.Instance.BackButtonSwitch(false, null, title);

            BackButton(animObj);
        }
        /// <summary>
        /// Contacts the close.
        /// </summary>
        /// <returns>The close.</returns>
        /// <param name="animObj">Animation object.</param>
        public void ContactClose(GameObject animObj)
        {
            string title = PanelStateManager.GetHeaderStringByKey("OtherSetting");

            HeaderPanel.Instance.BackButtonSwitch(false);
            HeaderPanel.Instance.BackButtonSwitch(true, BackButtonEvent, title);
            this.GetComponent <BoxCollider2D> ().enabled = true;
            MypageEventManager.Instance.BackButton(animObj);
        }
        /// <summary>
        /// Contacts the open.
        /// </summary>
        /// <returns>The open.</returns>
        /// <param name="animObj">Animation object.</param>
        public void ContactOpen(GameObject animObj)
        {
            string title = PanelStateManager.GetHeaderStringByKey("PanelContact");

            HeaderPanel.Instance.BackButtonSwitch(false);
            HeaderPanel.Instance.BackButtonSwitch(true, ContactCloseEvent, title);
            this.GetComponent <BoxCollider2D> ().enabled = false;
            MypageEventManager.Instance.PanelAnimate(animObj);
        }
        /// <summary>
        /// Others the setting.
        /// </summary>
        /// <returns>The setting.</returns>
        public void OtherSettingOpen()
        {
            string title = PanelStateManager.GetHeaderStringByKey("OtherSetting");

            HeaderPanel.Instance.BackButtonSwitch(false);
            HeaderPanel.Instance.BackButtonSwitch(true, OtherSettingCloseEvent, title);

            StartCoroutine(OtherSettingOpenInumerator());
        }
        /// <summary>
        /// Profiles the change close.
        /// </summary>
        /// <param name="animObj">Animation object.</param>
        public void ProfileChangeClose(GameObject animObj)
        {
            string title = PanelStateManager.GetHeaderStringByKey("PanelMypageMain");

            HeaderPanel.Instance.BackButtonSwitch(false, ProfileChangeEvent, title);
            PanelMypageMain.Instance.Init(true);

            StartCoroutine(BackAnimateToDestory(animObj));
        }
        /// <summary>
        /// Webviews the campaign close.
        /// </summary>
        /// <returns>The campaign close.</returns>
        /// <param name="animObj">Animation object.</param>
        public void WebviewCampaignClose(GameObject animObj)
        {
            string title = PanelStateManager.GetHeaderStringByKey("PanelMypageMain");

            HeaderPanel.Instance.BackButtonSwitch(false, null, title);

            _panelCampaign.SetActive(false);
            BackButton(animObj);
        }
示例#10
0
        /// <summary>
        /// Helps the detail open.
        /// </summary>
        /// <returns>The detail open.</returns>
        /// <param name="panelObject">Panel object.</param>
        public void HelpDetailOpen(GameObject panelObject)
        {
            HeaderPanel.Instance.BackButtonSwitch(false);
            string title = PanelStateManager.GetHeaderStringByKey("HelpPanelDetail");

            HeaderPanel.Instance.BackButtonSwitch(true, HelpDetailEvent, title);
            PanelHelpDetail.Instance.gameObject.SetActive(true);
            PanelHelpDetail.Instance.Init(panelObject.transform.GetChild(1).GetComponent <Text>().text, panelObject.transform.GetChild(2).GetComponent <Text>().text);
            MypageEventManager.Instance.PanelAnimate(PanelHelpDetail.Instance.gameObject);
        }
        /// <summary>
        /// Histories the list open.
        /// </summary>
        /// <returns>The list open.</returns>
        /// <param name="animObj">Animation object.</param>
        public void HistoryListOpen(GameObject animObj)
        {
            HeaderPanel.Instance.BackButtonSwitch(false);
            string title = PanelStateManager.GetHeaderStringByKey("PaneHistory");

            HeaderPanel.Instance.BackButtonSwitch(true, HistoryListCloseEvent, title);
            _backSwipe.EventMessageTarget = _paneHistory;
            PaneHistory.Instance.Init();
            PanelAnimate(animObj);
        }
        /// <summary>
        /// Webviews the campaign open.
        /// </summary>
        /// <returns>The campaign open.</returns>
        /// <param name="animObj">Animation object.</param>
        public void WebviewCampaignOpen(GameObject animObj)
        {
            HeaderPanel.Instance.BackButtonSwitch(false);
            string title = PanelStateManager.GetHeaderStringByKey("PanelCampaign");

            HeaderPanel.Instance.BackButtonSwitch(true, WebviewTransCloseEvent, title);

            _panelCampaign.SetActive(true);
            PanelAnimate(animObj);
        }
示例#13
0
        /// <summary>
        /// Helps the detail close.
        /// </summary>
        /// <returns>The detail close.</returns>
        /// <param name="animObj">Animation object.</param>
        public void HelpDetailClose(GameObject animObj)
        {
            string title = PanelStateManager.GetHeaderStringByKey("HelpPanel");

            HeaderPanel.Instance.BackButtonSwitch(false);
            HeaderPanel.Instance.BackButtonSwitch(true, HelpEvent, title);

            HelpPanel.Instance.gameObject.SetActive(true);
            MypageEventManager.Instance.BackButton(animObj);
        }
示例#14
0
        /// <summary>
        /// Webviews the term open.
        /// </summary>
        /// <returns>The term open.</returns>
        public void WebviewTransOpen(GameObject animObj)
        {
            string title = PanelStateManager.GetHeaderStringByKey("PanelTrans");

            HeaderPanel.Instance.BackButtonSwitch(false);
            HeaderPanel.Instance.BackButtonSwitch(true, WebviewTransCloseEvent, title);

            this.GetComponent <BoxCollider2D> ().enabled = false;
            _webviewTrans.SetActive(true);
            MypageEventManager.Instance.PanelAnimate(animObj);
        }
示例#15
0
        public void BoardDetailOpen(GameObject animObj)
        {
            //string title = PanelStateManager.GetHeaderStringByKey ("BulletInBoardDetailPanel");
            string title = PanelStateManager.GetHeaderStringByKey("BulletInBoardPanel");

            HeaderPanel.Instance.BackButtonSwitch(false);
            HeaderPanel.Instance.BackButtonSwitch(true, BoardDetailCloseEvent, title);
            _backSwipe.EventMessageTarget = _panelBoardDetail;

            PanelBoardListAnimate(animObj);
        }
示例#16
0
        /// <summary>
        /// Helps the open.
        /// </summary>
        /// <returns>The open.</returns>
        /// <param name="animObj">Animation object.</param>
        public void HelpOpen(GameObject animObj)
        {
            string title = PanelStateManager.GetHeaderStringByKey("HelpPanel");

            HeaderPanel.Instance.BackButtonSwitch(false);
            HeaderPanel.Instance.BackButtonSwitch(true, HelpEvent, title);
            HelpPanel.Instance.gameObject.SetActive(true);
            HelpPanel.Instance.Initialize();
            MypageEventManager.Instance.PanelAnimate(animObj);

            GameObject.FindGameObjectWithTag(CommonConstants.BACK_SWIPE).GetComponent <ScreenRaycaster>().enabled = false;
        }
示例#17
0
        /// <summary>
        /// Helps the close.
        /// </summary>
        /// <returns>The close.</returns>
        /// <param name="animObj">Animation object.</param>
        public void HelpClose(GameObject animObj)
        {
            string title = PanelStateManager.GetHeaderStringByKey("OtherSetting");

            HeaderPanel.Instance.BackButtonSwitch(false);
            HeaderPanel.Instance.BackButtonSwitch(true, MypageEventManager.Instance.OtherSettingCloseEvent, title);

            HelpPanel.Instance.gameObject.SetActive(false);
            MypageEventManager.Instance.BackButton(animObj);

            GameObject.FindGameObjectWithTag(CommonConstants.BACK_SWIPE).GetComponent <ScreenRaycaster>().enabled = true;
        }
示例#18
0
        public void ProfileClose(GameObject animObj)
        {
            _panelBoardDetail.GetComponent <PanelBoardDetail> ().Init();

            HeaderPanel.Instance.BackButtonSwitch(false, ProfileCloseEvent);
            HeaderPanel.Instance.BackButtonSwitch(true, BoardDetailCloseEvent, PanelStateManager.GetHeaderStringByKey("BulletInBoardPanel"));
            _backSwipe.EventMessageTarget = _panelBoardDetail;

            PanelBoardListAnimate(animObj, true);

            _panelBoardDetail.GetComponent <BoxCollider2D> ().enabled = true;
            _panelChat.GetComponent <PanelChat> ()._listUpdateDisable = true; //無効化処理
        }
        /// <summary>
        /// Panels the rand message open.
        /// </summary>
        /// <returns>The rand message open.</returns>
        public void PanelRandMessageOpen(GameObject animObj)
        {
//            if (AppStartLoadBalanceManager._isBaseProfile == false) {
//                PanelFooterButtonManager.Instance.NoRegistBaseProfile ();
//                return;
//            }

            HeaderPanel.Instance.BackButtonSwitch(false);
            string title = PanelStateManager.GetHeaderStringByKey("PanelRandMessage");

            HeaderPanel.Instance.BackButtonSwitch(true, PanelRandMessageCloseEvent, title);
            _backSwipe.EventMessageTarget = _panelRandMessage;
            PanelRandMessage.Instance.Init();
            PanelAnimate(animObj);
        }
        /// <summary>
        /// Profiles the change open inumerator.
        /// </summary>
        /// <returns>The change open inumerator.</returns>
        private IEnumerator ProfileChangeOpenInumerator()
        {
            GameObject go = Instantiate(Resources.Load(CommonConstants.PROFILE_CHANGE_PANEL)) as GameObject;

            while (go == null)
            {
                yield return(go != null);
            }

            go.transform.SetParent(_canvas, false);
            go.transform.SetSiblingIndex(1);
            go.name = CommonConstants.PROFILE_CHANGE_PANEL;

            string title = PanelStateManager.GetHeaderStringByKey("PanelProfileChange");

            HeaderPanel.Instance.BackButtonSwitch(false);
            HeaderPanel.Instance.BackButtonSwitch(true, ProfileChangeEvent, title);
            DataInit();
            go.GetComponent <PanelProfileChange>().Init();
            _backSwipe.EventMessageTarget = go;
            PanelAnimate(go);
        }