feat: polish game HUD scoring and results

This commit is contained in:
2026-05-29 00:32:21 +09:00
parent c4330aa544
commit b46ccddbdb
14 changed files with 768 additions and 646 deletions
@@ -69,10 +69,10 @@ namespace VRBeats
if (audioSource == null)
return 0.0f;
if (hasScheduledClip)
return (float)(AudioSettings.dspTime - scheduledDspStartTime);
if (hasScheduledClip || scheduledDspStartTime >= 0.0)
return Mathf.Max(0.0f, (float)(AudioSettings.dspTime - scheduledDspStartTime));
return audioSource.time;
return 0.0f;
}
}