mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 04:57:39 +02:00
fixed blue bear sound bug
This commit is contained in:
@ -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)
|
||||
|
@ -351,6 +351,7 @@ namespace HeavenStudio.Util
|
||||
}
|
||||
|
||||
oneShotAudioSource.PlayOneShot(clip, volume);
|
||||
// Debug.Log("Played Sound");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user