-
-
Save todorok1/d82001d6bd89a27aa92c4907286b70ac to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第117回 タイトル画面のつづきからのメニューを制御するクラス
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// 決定ボタンが押された時の処理です。 | |
| /// </summary> | |
| void OnPressedConfirmButton() | |
| { | |
| // 選択時の効果音を再生します。 | |
| AudioManager.Instance.PlaySe(SeNames.OK); | |
| _canSelect = false; | |
| _titleMenuManager.OnSelectedSlotId(_selectedSlot); | |
| } | |
| /// <summary> | |
| /// キャンセルボタンが押された時の処理です。 | |
| /// </summary> | |
| void OnPressedCancelButton() | |
| { | |
| // キャンセル時の効果音を再生します。 | |
| AudioManager.Instance.PlaySe(SeNames.Cancel); | |
| StartCoroutine(HideProcess()); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment