备份,准备做双端

This commit is contained in:
2026-07-30 23:15:58 +08:00
parent add675e45d
commit ec4ec53545
88 changed files with 4050 additions and 872 deletions
@@ -59,6 +59,15 @@ public class JudgeSoundManager : MonoBehaviour
src.spatialBlend = 0f;
// ensure not looping
src.loop = false;
// Lowest-latency reactive playback for judge SFX:
// bypass any AudioMixer-group / AudioListener DSP effects (reverb, compressor, etc.)
// that would otherwise add buffer-sized processing latency on top of hardware output.
src.bypassEffects = true;
src.bypassListenerEffects = true;
src.bypassReverbZones = true;
// Highest priority so a judge hit is never delayed by voice-stealing under load.
src.priority = 0;
}
public enum JudgeResult { Perfect, Great, Good, Miss }