Esempio n. 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);
        }
Esempio n. 3
0
 public void OnPressedTetrinButton() {
     toggler.ToggleAll();
     SceneController.Instance.LoadScene(SceneName.MarathonMode, SceneTransition.Duration);
 }
Esempio n. 4
0
 public void OnPressed()
 {
     toggler.ToggleAll();
     SceneController.Instance.LoadScene(SceneName.StackMode, TitleManager.TransitionDuration);
 }
Esempio n. 5
0
 public void OnPressed()
 {
     toggler.ToggleAll();
     SceneController.Instance.LoadScene(SceneName.MultiPlay, SceneTransition.Duration);
 }