示例#1
0
 private void PauseRegister()
 {
     TargetGo.SetActive(false);
     RegisterViewTweener = DotweenManager.DOLocalMoveY(lv.RegisterView).SetAutoKill(false);
     //确保此方法只运行一次
     EnterGameTweener.onPause -= PauseRegister;
 }
示例#2
0
 private void Pause()
 {
     TargetGo.SetActive(false);
     ChangePWViewTweener = DotweenManager.DOLocalMoveY(lv.ChangePWView).SetAutoKill(false);
     //确保此方法只运行一次
     EnterGameTweener.onPause -= Pause;
 }
示例#3
0
        public override void OnOpen()
        {
            base.OnOpen();
//            if (GameStarter.isfirstLogin)
            {
                EnterGameTweener = DotweenManager.DOLocalMoveY(TargetGo).SetAutoKill(false);
                GlobalDispatcher.Instance.AddListener(LoginEvent.OnLoginSucc, HideView);
                if (PlayerSave.HasKey("Account") || PlayerSave.HasKey("Password"))
                {
                    Debug.Log(string.Format("<color=#ffffffff><---{0}-{1}----></color>", PlayerSave.GetString("Account"), "test1"));

                    password.text     = PlayerSave.GetString("Password");
                    inputAccount.text = PlayerSave.GetString("Account");
                }
            }
        }