Beispiel #1
0
 private void Update()
 {
     if (Input.GetKeyDown(KeyCode.F1))
     {
         GUI.FocusControl(@"");
         toggler.ToggleAll();
         Toggle();
     }
 }
        public void OnPressed()
        {
            // TODO: 名前が空だった時の処理
            if (string.IsNullOrWhiteSpace(nameField.text))
            {
                return;
            }
            PlayerPrefs.SetString(PlayerPrefsKey.PlayerName, nameField.text);

            toggler.ToggleAll();
            SceneController.Instance.LoadScene(SceneName.MarathonMode, TitleManager.TransitionDuration);
        }
Beispiel #3
0
 public void OnPressedTetrinButton() {
     toggler.ToggleAll();
     SceneController.Instance.LoadScene(SceneName.MarathonMode, SceneTransition.Duration);
 }
Beispiel #4
0
 public void OnPressed()
 {
     toggler.ToggleAll();
     SceneController.Instance.LoadScene(SceneName.StackMode, TitleManager.TransitionDuration);
 }
 public void OnPressed()
 {
     toggler.ToggleAll();
     SceneController.Instance.LoadScene(SceneName.MultiPlay, SceneTransition.Duration);
 }