private void PauseRegister() { TargetGo.SetActive(false); RegisterViewTweener = DotweenManager.DOLocalMoveY(lv.RegisterView).SetAutoKill(false); //确保此方法只运行一次 EnterGameTweener.onPause -= PauseRegister; }
private void Pause() { TargetGo.SetActive(false); ChangePWViewTweener = DotweenManager.DOLocalMoveY(lv.ChangePWView).SetAutoKill(false); //确保此方法只运行一次 EnterGameTweener.onPause -= Pause; }
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"); } } }