From 75bee5ab02a738983930dfe0f08661757048031d Mon Sep 17 00:00:00 2001 From: Zeo <67521686+ThatZeoGal@users.noreply.github.com> Date: Mon, 13 May 2024 22:04:40 -0500 Subject: [PATCH] fixed blue bear sound bug --- Assets/Scripts/Games/BlueBear/BlueBear.cs | 3 ++- Assets/Scripts/Util/SoundByte.cs | 1 + ...aging.UnitySourceGenerator.Editor.ProjectSettingsData.asset | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/Games/BlueBear/BlueBear.cs b/Assets/Scripts/Games/BlueBear/BlueBear.cs index 66fa57b1..0deb1065 100644 --- a/Assets/Scripts/Games/BlueBear/BlueBear.cs +++ b/Assets/Scripts/Games/BlueBear/BlueBear.cs @@ -555,7 +555,8 @@ namespace HeavenStudio.Games public static void TreatSound(double beat, bool isCake) { - SoundByte.PlayOneShot(isCake ? "games/blueBear/cake" : "games/blueBear/donut", beat); + // Debug.Log("Playing Treat Sound on beat " + beat); + SoundByte.PlayOneShotGame(isCake ? "blueBear/cake" : "blueBear/donut", beat, forcePlay: true); } public void SquashBag(bool isCake) diff --git a/Assets/Scripts/Util/SoundByte.cs b/Assets/Scripts/Util/SoundByte.cs index e59216f5..7a4a4a2f 100644 --- a/Assets/Scripts/Util/SoundByte.cs +++ b/Assets/Scripts/Util/SoundByte.cs @@ -351,6 +351,7 @@ namespace HeavenStudio.Util } oneShotAudioSource.PlayOneShot(clip, volume); + // Debug.Log("Played Sound"); return null; } } diff --git a/ProjectSettings/SatorImaging.UnitySourceGenerator.Editor.ProjectSettingsData.asset b/ProjectSettings/SatorImaging.UnitySourceGenerator.Editor.ProjectSettingsData.asset index 0fb321ea..61fa2bb5 100644 --- a/ProjectSettings/SatorImaging.UnitySourceGenerator.Editor.ProjectSettingsData.asset +++ b/ProjectSettings/SatorImaging.UnitySourceGenerator.Editor.ProjectSettingsData.asset @@ -402,5 +402,6 @@ MonoBehaviour: - Assets/Scripts/Games/LoveLab/LoveLabHeartMisc.cs - Assets/Scripts/Games/LaunchParty/LaunchPartyRocket.cs - Assets/Scripts/Util/BeatAction.cs + - Assets/Scripts/Games/FanClub/NtrIdolAri.cs PathsToSkipImportEvent: [] PathsToIgnoreOverwriteSettingOnAttribute: []