private void SetWaitingforRestoreCondition()
 {
     _animator.SetBool("IsDestroyed", true);
     _predictionText.text = PlayerPrefs.GetString("LastPrediction");
     _buttons.ActivateTriesEndedAnnouncer();
     _cookie.DOAnchorPosY(_yAxisEndValue, 0);
 }
示例#2
0
 public void OnTriesEnded()
 {
     _buttons.ActivateTriesEndedAnnouncer();
     PlayerPrefs.SetInt("IsTriesEnded", 1);
     PlayerPrefs.SetString("Time", DateTime.Now.AddHours(3).ToString());
 }