Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created August 14, 2025 01:37
Show Gist options
  • Select an option

  • Save todorok1/8915f2965776a08cdab81d8ead3a67cc to your computer and use it in GitHub Desktop.

Select an option

Save todorok1/8915f2965776a08cdab81d8ead3a67cc to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第117回 メニューの装備画面で装備する場所の選択画面を制御するクラス
/// <summary>
/// 項目が選択された時の処理です。
/// </summary>
void OnPressedConfirmButton()
{
// 選択時の効果音を再生します。
AudioManager.Instance.PlaySe(SeNames.OK);
_windowController.OnSelectedEquipmentParts(_selectedParts);
}
/// <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