/// <summary> /// SEの音量を変更する関数 /// </summary> private void SettingSE() { if (!KeyLoader.keyLoader.StickWait && KeyLoader.keyLoader.joyStickAxis.x > 0 && SEvol < Menu.MAX_VOL) { SEvol++; SaveData.SaveInt("SEvolume", SEvol); SEvol = SaveData.GetInt("SEvolume"); SEMaster.ReLoad(); SEMaster.Play(KeyInputSE.keyInoutSE.GetClip(KeyInputSE.Type.Move)); KeyLoader.keyLoader.SetStickWait(RESET_KEY); } else if (!KeyLoader.keyLoader.StickWait && KeyLoader.keyLoader.joyStickAxis.x < 0 && SEvol > Menu.MIN_VOL) { SEvol--; SaveData.SaveInt("SEvolume", SEvol); SEvol = SaveData.GetInt("SEvolume"); SEMaster.ReLoad(); SEMaster.Play(KeyInputSE.keyInoutSE.GetClip(KeyInputSE.Type.Move)); KeyLoader.keyLoader.SetStickWait(RESET_KEY); } }