Beispiel #1
0
        /// <summary>
        /// 返回登录页面
        /// </summary>
        private void OnBackButton()
        {
            ETModel.Game.Scene.GetComponent <SoundComponent>().PlayClip(DataCenterComponent.Instance.soundInfo.click);
            accoutIF.text          = "";
            passIF.text            = "";
            repeatIF.text          = "";
            _accountTipsText.text  = "";
            _passwordTipsText.text = "";
            _captchaTipsText.text  = "";

            this.panelGo.SetActive(false);
            _captchaCpt.HideCaptcha();
            //GetParent<UILoginCpt>().LoginView.SetActive(true);
        }
Beispiel #2
0
        public async void OnClose()
        {
            if (!panelGo.activeSelf)
            {
                return;
            }
            _panelTweener.PlayBackwards();
            await Task.Delay(300);

            _accountInput.text     = "";
            _passwordInput.text    = "";
            _captchaInput.text     = "";
            _accountTipsText.text  = "";
            _passwordTipsText.text = "";
            _captchaTipsText.text  = "";

            _captchaCpt.HideCaptcha();


            panelGo?.SetActive(false);
        }