mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-25 19:15:16 +00:00
fixed blue bear sound bug
This commit is contained in:
parent
e06461f3e2
commit
75bee5ab02
3 changed files with 4 additions and 1 deletions
|
@ -555,7 +555,8 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
public static void TreatSound(double beat, bool isCake)
|
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)
|
public void SquashBag(bool isCake)
|
||||||
|
|
|
@ -351,6 +351,7 @@ namespace HeavenStudio.Util
|
||||||
}
|
}
|
||||||
|
|
||||||
oneShotAudioSource.PlayOneShot(clip, volume);
|
oneShotAudioSource.PlayOneShot(clip, volume);
|
||||||
|
// Debug.Log("Played Sound");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -402,5 +402,6 @@ MonoBehaviour:
|
||||||
- Assets/Scripts/Games/LoveLab/LoveLabHeartMisc.cs
|
- Assets/Scripts/Games/LoveLab/LoveLabHeartMisc.cs
|
||||||
- Assets/Scripts/Games/LaunchParty/LaunchPartyRocket.cs
|
- Assets/Scripts/Games/LaunchParty/LaunchPartyRocket.cs
|
||||||
- Assets/Scripts/Util/BeatAction.cs
|
- Assets/Scripts/Util/BeatAction.cs
|
||||||
|
- Assets/Scripts/Games/FanClub/NtrIdolAri.cs
|
||||||
PathsToSkipImportEvent: []
|
PathsToSkipImportEvent: []
|
||||||
PathsToIgnoreOverwriteSettingOnAttribute: []
|
PathsToIgnoreOverwriteSettingOnAttribute: []
|
||||||
|
|
Loading…
Reference in a new issue